Skip to content

Latest commit

 

History

History
2365 lines (1507 loc) · 120 KB

CHANGELOG.md

File metadata and controls

2365 lines (1507 loc) · 120 KB

@lblod/ember-rdfa-editor

7.0.1

Patch Changes

7.0.0

Major Changes

  • 951fe78e Thanks @elpoelma! - GN-4130: Remove "data-editor-highlight" styled

    Removes styles that were affecting elements with the "data-editor-highlight" attribute. Styles are moved to ember-rdfa-editor-lblod-plugins and are applied through the citation-plugin.

Minor Changes

  • #1044 0a2472c1 Thanks @elpoelma! - Add shift+enter handler to embeddedEditorBaseKeymap

  • #1027 8d310cf1 Thanks @elpoelma! - Introduction of a custom gap-cursor plugin containing several fixes compared to the original version:

    • The click handler has been replaced by a mousedown handler in order to intercept a click event earlier
    • The types of the GapCursor class have been fixed
    • Addition of a fix when resolving the position returned by view.posAtCoords.
  • #1042 1f9dbf13 Thanks @elpoelma! - Introduction of _guid attribute on inline-rdfa markspec

  • #1040 5ebcbedb Thanks @elpoelma! - Deprecate usage of SetDocAttributeStep in favour of native DocAttrStep or setDocAttribute method of the Transform class

  • #1042 4d7f9acc Thanks @elpoelma! - Removal of obsolete __tag attribute from inline-rdfa markspec and block-rdfa nodespec

  • #1040 56a5f4ac Thanks @elpoelma! - Use native setDocAttribute method of the Transform class to update attributes of the doc node

  • #1042 1f9dbf13 Thanks @elpoelma! - Removal of obsolete __rdfaId node and mark attribute

Patch Changes

6.4.0

Minor Changes

Patch Changes

6.3.0

Minor Changes

  • #995 de9bf54a Thanks @elpoelma! - Display new image icon if host app has @appuniversum/ember-appuniversum >= 2.16.0 installed

Patch Changes

  • whater

  • #991 4a4b855f Thanks @piemonkey! - Improve types and documentation of EmberNode

  • #993 d68f84c4 Thanks @elpoelma! - Update @appuniversum/ember-appuniversum dev-dependency to 2.16.0

    Note: this does not mean that we only support @appuniversum/ember-appuniversum 2.16.0 and above. The @appuniversum/ember-appuniversum package will stay supported as low as version 2.4.2.

  • #1003 fb57c719 Thanks @elpoelma! - Remove unnecessary z-index: 1 css declaration from image resize-handles

6.2.0

Minor Changes

  • #989 8ad01b11 Thanks @x-m-el! - export a Sass mixin say-content that contains the style of the class say-content

Patch Changes

  • #983 7e653b78 Thanks @piemonkey! - GN-4531 Fix unfocusing of nested variable nodes when clicking main editor

6.1.0

Minor Changes

Patch Changes

6.0.0

Major Changes

  • #964 e2324a3e Thanks @Windvis! - Add Embroider "optimized" support

    To support the strict Embroider "optimized" preset we needed to make a breaking change. The componentPath property for the createEmberNodeView util has been replaced by a new component property. Instead of providing the path to the component, the component class should be passed instead.

    Before:

    createEmberNodeView({
      // ... other options
      componentPath: "foo",
    });

    After:

    import Foo from "app-name/components/foo";
    
    createEmberNodeView({
      // ... other options
      component: Foo,
    });

Patch Changes

5.3.0

Minor Changes

  • #966 6234df46 Thanks @x-m-el! - GN-4482: Color Picker UX - increase the clickable size of the color picker color-buttons

  • #954 69200fa6 Thanks @abeforgit! - GN-4433: Pressing enter-key inside a link will set the cursor behind this link

  • #963 ab16d6d3 Thanks @Windvis! - Expose a Webpack config for Embroidered apps

  • #954 788af8ca Thanks @abeforgit! - switch to changesets for changelog management

  • #955 0f6da258 Thanks @elpoelma! - GN-4479: allow for option to pass nodeviews object to embedded-editor component

  • #962 49e52fb4 Thanks @x-m-el! - - Fix leave-on-enter-key modifier to always use the correct position to leave a node from.

    • Add leave-with-arrow-keys modifier, which can be used to leave an node's element with the left and right arrow key.
    • Add select-node-on-click modifier, which can be used to select a given node when clicking the bound element.
  • #965 542ad84b Thanks @x-m-el! - GN4482: Bugfix - allow toggling marks if spaces are included at the start or end of the selection

Patch Changes

5.2.0 - 2023-08-29

Changed

  • remove unused dependencies

5.1.0 - 2023-08-25

Fixed

  • pin the focus-trap dependency to 1.0.x since 1.1.0 has a faulty peerdep spec, see this issue

Added

  • findNodePosDown function in addon/utils/position-utils that can find a node with specific predicate in the document, searching down (=to the right) in order of the document as seen by the user
  • findNodePosUp function in addon/utils/position-utils that can find a node with specific predicate in the document, searching up (=to the left) in order of the document as seen by the user

5.0.0 - 2023-08-22

Changed

  • All nodes with indentationLevel attribute can be indented, instead of only hardcoded nodes.
  • Add a setDocumentAttribute on SayController
  • Export SetDocAttributeStep
  • Check if table can be inserted

Fixed

  • All Paragraphs are now part of the group paragraphGroup
    • A list will accept any paragraphGroup
  • ParagraphWithConfig accepts a config option subType which is required.
    • For a normal paragraph this can be the empty string
    • For others, this will be added to the nodespec as subType and the dataset of the node in parseDom
  • fetch dependency lblod/prosemirror-invisibles via https instead of ssh, as the repo is public

Dependencies

  • Bumps @typescript-eslint/eslint-plugin from 6.2.0 to 6.3.0
  • Bumps xml-formatter from 3.4.1 to 3.5.0
  • Bumps eslint-config-prettier from 8.9.0 to 9.0.0
  • Bumps release-it from 16.1.3 to 16.1.5
  • Bumps ember-velcro from 2.1.0 to 2.1.1
  • Bumps eslint-config-prettier from 8.8.0 to 8.9.0
  • Bumps sass from 1.64.1 to 1.64.2
  • Bumps prosemirror-view from 1.31.6 to 1.31.7
  • Bumps @types/sinon from 10.0.15 to 10.0.16
  • Bumps eslint from 8.45.0 to 8.46.0
  • Bumps handlebars from 4.7.7 to 4.7.8
  • Bumps prettier from 3.0.0 to 3.0.1
  • Bumps prosemirror-transform from 1.7.3 to 1.7.4
  • Bumps @codemirror/view from 6.15.3 to 6.16.0

Breaking

  • remove option allowedTypes. Instead all nodes with attribute indentationLevel can be indented.

4.2.0 - 2023-07-29

Dependencies

  • Bumps @typescript-eslint/parser from 6.1.0 to 6.2.0
  • Bumps @typescript-eslint/eslint-plugin from 6.1.0 to 6.2.0
  • Bumps eslint-plugin-deprecation from 1.4.1 to 1.5.0

Added

  • Can specify plugins and keymap for embedded-editor.
  • ParagraphWithConfig node that allows paragraphs with customized configuration like marks, groups and allowed content.
  • Option allowedTypes for indentation menu to override which types can be indented.

Changed

  • The schema defined for embedded-editor was not used by prosemirror. This has been removed to avoid confusion.
  • Mark buttons (bold, italic, ...) are now disabled if not allowed for the selected text.

4.1.0 - 2023-07-24

Added

  • Addition of an ember-application prosemirror plugin which allows for accessing the current instance of the ember application given a prosemirror state.
  • Addition of a custom SayNodeSpec interface which adds support for a serialize method. This method gets called each time the custom SaySerializer is executed.
  • Addition of a custom SayMarkSpec interface which adds support for a serialize method. This method gets called each time the custom SaySerializer is executed.
  • Addition of the SaySerializer class. This is a custom DOMSerializer which execute the serialize method of node- and mark-specs if available.

Changed

  • Updated docker build to serve static files

Dependencies

  • Bumps @codemirror/view from 6.14.1 to 6.15.3
  • Bumps @codemirror/view from 6.14.0 to 6.15.3
  • Bumps eslint-plugin-ember from 11.9.0 to 11.10.0
  • Bumps @typescript-eslint/eslint-plugin from 6.0.0 to 6.1.0
  • Bumps @typescript-eslint/eslint-plugin from 5.61.0 to 6.1.0
  • Bumps @typescript-eslint/parser to 6.0.0
  • Bumps semver from 5.7.1 to 5.7.2
  • Bumps prettier from 2.8.8 to 3.0.0
  • Bumps eslint-plugin-prettier to 5.0.0
  • Bumps release-it to 16.1.0
  • Bumps @release-it/keep-a-changelog to 4.0.0
  • Bumps prosemirror-model from 1.19.2 to 1.19.3
  • Bumps eslint from 8.44.0 to 8.45.0
  • Bumps prosemirror-view from 1.31.5 to 1.31.6
  • Bumps dompurify from 3.0.4 to 3.0.5
  • Bumps @typescript-eslint/parser from 6.0.0 to 6.1.0
  • Bumps release-it from 16.1.2 to 16.1.3
  • Bumps release-it from 16.1.0 to 16.1.3
  • Bumps ember-template-lint from 5.11.0 to 5.11.1
  • Bumps sass from 1.63.6 to 1.64.1
  • Bumps webpack from 5.88.1 to 5.88.2

4.0.0 - 2023-07-05

Added

  • Addition of documentLanguage getter and setter to SayController
  • Addition of a SetDocAttribute step, which allows updating the attribute value on the doc node.
  • Addition of an initialize method to the SayController which allows re-initializing the editor given an html string.
  • Introduction of a docWithConfig function. This function produces a doc node-spec based on a DocumentConfig object. This config may contain the default language and the allowed content of a document.

Changed

  • Improve behaviour of ember-nodes with editable content
  • Update the dummy counter node to make use of new document language feature
  • Woodpecker: do not run changelog-check when PR contains dependabot label
  • Addition of a lang attribute to the doc node-spec.

Removed

  • remove unused say-editor specific svgs

Breaking

  • The default behaviour of the stopEvent method of ember-nodeviews has changed in order to provide an improved handling of (input) event in and around ember-nodes
  • The default behaviour of the ignoreMutation method of ember-nodeviews has changed in order to provide better handling of mutations and selection changes in and around ember-nodes
  • Updated behaviour of htmlContent getter and setter to take into document node and lang attribute into account. Note: this getter now also serializes the doc node, so the output will slightly differ in comparison to previous releases.
  • The doc node-spec in your schema now needs a toDOM method as the htmlContent getter needs to be able to serialize it.

Dependencies

  • Bumps @codemirror/view from 6.13.2 to 6.14.0
  • Bumps @codemirror/view from 6.13.1 to 6.14.0
  • Bumps @ember/render-modifiers from 2.0.5 to 2.1.0
  • Bumps prosemirror-tables from 1.3.3 to 1.3.4
  • Bumps @types/qunit from 2.19.5 to 2.19.6
  • Bumps @typescript-eslint/parser from 5.60.1 to 5.61.0
  • Bumps @typescript-eslint/parser from 5.60.0 to 5.61.0
  • Bumps @typescript-eslint/parser from 5.59.9 to 5.60.1
  • Bumps @embroider/test-setup from 2.1.1 to 3.0.1
  • Bumps prosemirror-view from 1.31.4 to 1.31.5
  • Bumps ember-template-lint from 5.10.3 to 5.11.0
  • Bumps ember-template-lint from 5.7.3 to 5.11.0
  • Bumps webpack from 5.88.0 to 5.88.1
  • Bumps webpack from 5.87.0 to 5.88.1
  • Bumps eslint-plugin-ember from 11.8.0 to 11.9.0
  • Bumps @codemirror/lang-html from 6.4.4 to 6.4.5
  • Bumps eslint-plugin-qunit from 7.3.4 to 8.0.0
  • Bumps dompurify from 3.0.3 to 3.0.4
  • Bumps @typescript-eslint/eslint-plugin from 5.60.1 to 5.61.0
  • Bumps @typescript-eslint/eslint-plugin from 5.59.11 to 5.61.0
  • Bumps eslint from 8.43.0 to 8.44.0
  • Bumps sinon from 15.1.2 to 15.2.0
  • Bumps @types/sinon from 10.0.13 to 10.0.15

3.10.0 - 2023-06-22

Fixed

  • better handle weird edgecases when copying from word

Internal

  • use github.token for github checkout action

Dependencies

  • Bumps prosemirror-view from 1.31.3 to 1.31.4
  • Bumps xml-formatter from 3.3.2 to 3.4.1
  • Bumps @types/uuid from 9.0.1 to 9.0.2
  • Bumps ember-cli-dependency-checker from 3.3.1 to 3.3.2
  • Bumps sass from 1.63.5 to 1.63.6
  • Bumps sass from 1.62.1 to 1.63.6
  • Bumps rdf-data-factory from 1.1.1 to 1.1.2
  • Bumps eslint from 8.42.0 to 8.43.0
  • Bumps @types/ember__string from 3.0.10 to 3.0.11
  • Bumps prosemirror-schema-basic from 1.2.1 to 1.2.2

Changed

  • fix woodpecker syntax
  • replacement of github ensure-changelog action by changelog check in woodpecker CI
  • SayController::setHtmlContent can now receive shouldFocus option which determines whether editor will be focused or not after calling setHtmlContent. Defaults to true for back compatibility.

3.9.0 - 2023-06-18

Added

  • add pr template
  • add ability to completely override plugin array
  • Addition of getGroups and hasGroups utility functions

Dependencies

  • Bumps @codemirror/state from 6.2.0 to 6.2.1
  • Bumps sinon from 15.0.4 to 15.1.2
  • Bumps prettier from 2.8.7 to 2.8.8
  • Bumps webpack from 5.86.0 to 5.87.0
  • Bumps prosemirror-tables from 1.3.2 to 1.3.3
  • Bumps @types/ember__error from 4.0.2 to 4.0.3
  • Bumps @ember/test-helpers from 2.9.3 to 2.9.4
  • Bumps @codemirror/lang-html from 6.4.3 to 6.4.4
  • Bumps @appuniversum/ember-appuniversum from 2.5.0 to 2.7.0

3.8.1 - 2023-06-13

Dependencies

  • Bumps caniuse-lite to 1.0.30001492
  • Bumps ember-focus-trap from 1.0.1 to 1.0.2
  • Bumps ember-velcro to 2.1.0
  • Pin typescript to 5.0.x
  • Bumps prosemirror-state from 1.4.2 to 1.4.3
  • Bumps eslint from 8.38.0 to 8.42.0
  • Bumps release-it from 15.10.1 to 15.11.0
  • Bumps @typescript-eslint/parser from 5.59.2 to 5.59.9
  • Bumps eslint-plugin-ember from 11.5.2 to 11.8.0
  • Bumps prosemirror-keymap from 1.2.1 to 1.2.2
  • Bumps webpack from 5.81.0 to 5.86.0
  • Bumps prosemirror-transform from 1.7.1 to 1.7.3
  • Bumps @codemirror/view from 6.13.0 to 6.13.1
  • Bumps @codemirror/view from 6.10.1 to 6.13.1
  • Bumps prosemirror-inputrules from 1.2.0 to 1.2.1
  • Bumps @types/debug from 4.1.7 to 4.1.8
  • Bumps iter-tools from 7.5.1 to 7.5.3
  • Bumps @typescript-eslint/eslint-plugin from 5.59.5 to 5.59.11
  • Bumps prosemirror-commands from 1.5.1 to 1.5.2
  • Bumps prosemirror-schema-list from 1.2.2 to 1.3.0

3.8.0 - 2023-05-31

Added

  • Allow the parent component to get the innerView in Embedded Editor

Dependencies

  • Bumps prosemirror-view from 1.30.2 to 1.31.3
  • Bumps prosemirror-history from 1.3.0 to 1.3.2
  • Bumps prosemirror-gapcursor from 1.3.1 to 1.3.2
  • Bumps prosemirror-model from 1.19.0 to 1.19.2

3.7.2 - 2023-05-30

Dependencies

  • Bumps vm2 from 3.9.17 to 3.9.19
  • Bumps ember-template-lint from 5.7.2 to 5.7.3
  • Bumps dompurify from 3.0.1 to 3.0.3
  • Bumps socket.io-parser from 4.2.1 to 4.2.3
  • Bumps engine.io from 6.2.1 to 6.4.2
  • Bumps socket.io from 4.5.4 to 4.6.1
  • Bumps prosemirror-dropcursor from 1.8.0 to 1.8.1

Fixed

  • Annotation UX not present for some structures

3.7.1 - 2023-05-17

Fixed

  • Show correct import for heading node in documentation
  • Whitespace is not removed in table headers
  • correct woodpecker secret indentation

3.7.0 - 2023-05-12

Dependencies

  • Bumps sass from 1.62.0 to 1.62.1
  • Bumps @typescript-eslint/eslint-plugin from 5.59.0 to 5.59.5

Added

  • Update EmberNodeConfig type

3.6.0 - 2023-05-04

Added

  • Addition of list inputrules
  • Possibility to pass ignoreMutation to the EmberNodeSpec when creating Ember Nodes

Fixed

  • Also observe responsive toolbar children for resize
  • Solve bug with cursor in front a multiple line link
  • Add color mark to dummy-plugins schema
  • Use flex-start instead of start as justify-content value
  • Backspace into nested list

Changed

  • Ensure the list toggle button removes selected content completely out of all lists when untoggling

Dependencies

  • Bumps @typescript-eslint/parser from 5.58.0 to 5.59.2
  • Bumps @typescript-eslint/parser from 5.55.0 to 5.59.2
  • Bumps linkifyjs from 4.1.0 to 4.1.1
  • Bumps @appuniversum/ember-appuniversum from 2.4.2 to 2.5.0
  • Bumps vm2 from 3.9.16 to 3.9.17
  • Bumps vm2 from 3.9.15 to 3.9.17
  • Bumps vm2 from 3.9.12 to 3.9.16
  • Bumps typescript from 4.9.5 to 5.0.4
  • Bumps sinon from 15.0.3 to 15.0.4
  • Bumps sinon from 15.0.2 to 15.0.4
  • Bumps eslint-plugin-deprecation from 1.3.3 to 1.4.1
  • Bumps @typescript-eslint/eslint-plugin from 5.58.0 to 5.59.0
  • Bumps @typescript-eslint/eslint-plugin from 5.57.1 to 5.59.0
  • Bumps eslint from 8.36.0 to 8.38.0
  • Bumps webpack from 5.79.0 to 5.81.0
  • Bumps webpack from 5.76.2 to 5.81.0
  • Bumps ember-template-lint from 5.7.1 to 5.7.2
  • Bumps eslint-config-prettier from 8.7.0 to 8.8.0
  • Bumps @codemirror/view from 6.9.4 to 6.10.1
  • Bumps @codemirror/view from 6.9.3 to 6.10.1
  • Bumps sass from 1.59.3 to 1.62.0
  • Bumps @codemirror/lang-html from 6.4.2 to 6.4.3
  • Bumps ember-auto-import from 2.6.1 to 2.6.3
  • Bumps release-it from 15.9.0 to 15.10.1
  • Bumps eslint-plugin-ember from 11.4.8 to 11.5.2
  • Bumps @types/qunit from 2.19.4 to 2.19.5

3.5.0 - 2023-04-07

Added

  • Added the possibility to use Insert Card as open by default

Fixed:

  • Add unique id package missing

Dependencies

  • Bumps prettier from 2.8.4 to 2.8.7
  • Bumps @typescript-eslint/eslint-plugin from 5.55.0 to 5.57.1
  • Bumps @codemirror/view from 6.9.2 to 6.9.3

Fixed:

  • Support SVG without height/width
  • Validate the URL when inserting an image

3.4.1 - 2023-03-27

Dependencies

  • bump prosemirror dependencies to latest

3.4.0 - 2023-03-23

Added:

  • Addition of a ResponsiveToolbar component which takes into account container and screen size.
  • Addition of a color highlighting mark and toolbar menu
  • Addition of a toolbar menu which allows for inserting an image given it's URL.
  • Support for resizable images
  • Addition of an optional stopEvent attribute which can be provided when configuring an ember-node, it can be used to override the default behaviour of the stopEvent attribute of the ember-node node-view.
  • Addition of a text color mark
  • Required parts of AuPill extracted into Pill component

Fixed:

  • embedded-editor: only set data-placeholder when placeholder argument is supplied
  • toolbar: add missing missing toolbar divider styles
  • Fix switching unordered list to ordered and applying correct styling
  • ember-node: Fix cursor placement inside of ember-node when navigating from left
  • Un-indent paragraph on backspace at the front of paragraph
  • Change EmberNode "inline" style to be inline-block to avoid pushing away surrounding content
  • Change outline for Link "ember-node" to have outline-offset -2px for it not to cover nearby content when focused
  • fix backspacing into link nodes on firefox
  • When the prosemirror-invisibles is enabled, an undefined is no longer thrown on some occasions
  • More clear handling of delete at end of rdfa-block

Changed:

  • disable broken firefox cursor fix plugin
  • usage of ember-velcro for toolbar-dropdown component
  • remove support for base64 images
  • Improve appearance of fake firefox cursor

Dependencies

  • Bumps @codemirror/lang-html from 6.4.1 to 6.4.2
  • Bumps @codemirror/view from 6.9.1 to 6.9.2
  • Bumps @types/dompurify from 2.4.0 to 3.0.0
  • Bumps @typescript-eslint/eslint-plugin from 5.50.0 to 5.55.0
  • Bumps @typescript-eslint/parser from 5.54.0 to 5.55.0
  • Bumps dompurify from 3.0.0 to 3.0.1
  • Bumps ember-template-lint from 5.7.0 to 5.7.1
  • Bumps ember-template-lint from 5.6.0 to 5.7.1
  • Bumps ember-template-lint from 5.3.3 to 5.7.0
  • Bumps eslint-config-prettier from 8.6.0 to 8.7.0
  • Bumps eslint-plugin-ember from 11.4.6 to 11.4.8
  • Bumps eslint from 8.29.0 to 8.36.0
  • Bumps prosemirror-commands from 1.5.0 to 1.5.1
  • Bumps prosemirror-dropcursor from 1.7.0 to 1.7.1
  • Bumps prosemirror-view from 1.30.1 to 1.30.2
  • Bumps release-it from 15.8.0 to 15.9.0
  • Bumps release-it from 15.7.0 to 15.9.0
  • Bumps sass from 1.58.3 to 1.59.3
  • Bumps sinon from 15.0.1 to 15.0.2
  • Bumps webpack from 5.76.1 to 5.76.2
  • Bumps webpack from 5.75.0 to 5.76.2
  • Bumps xml-formatter from 3.3.0 to 3.3.2

3.3.0 - 2023-03-02

Added

  • Addition of a formatting toggle component which allows showing formatting marks
  • Addition of linkPasteHandler plugin which detects and converts links in pasted content

Changed

  • Disable toolbar buttons when not applicable instead of hiding them
  • Use the new view pasteHTML method inside the Word paste handler.
  • Updated selection background-color of selections inside highlighted elements

Dependencies

  • Bumps @embroider/test-setup from 1.8.3 to 2.1.1
  • Bumps @typescript-eslint/parser from 5.50.0 to 5.54.0
  • Bumps tracked-built-ins from 3.1.0 to 3.1.1
  • Bumps ember-qunit from 6.1.1 to 6.2.0
  • Bumps prettier from 2.8.3 to 2.8.4
  • Bumps minimist from 0.2.2 to 0.2.4
  • Bumps release-it from 15.6.0 to 15.7.0
  • Bumps prosemirror-keymap from 1.2.0 to 1.2.1
  • Bumps @codemirror/view from 6.7.3 to 6.9.1

Fixed

  • Inherit ordered list style correctly
  • Fixed white-space issue in links
  • Fix issue with parsing links from pasted html

3.2.1 - 2023-02-28

Fixed

  • Fix ember.js 3.28 compatibility issue

Dependencies

  • Bumps @codemirror/lang-xml from 6.0.1 to 6.0.2
  • Bumps prosemirror-dropcursor from 1.6.1 to 1.7.0

3.2.0 - 2023-02-27

Added

  • Addition of the paragraph/heading indentation functionality

Fixed

  • Add padding to rdfa-toggle
  • Fix shrinking issue with toolbar groups
  • Fix disappearing cursor problems in firefox

Deprecated

  • Usage of Plugins::List::IndentationControls, use Plugins::Indentation::IndentationMenu instead.

Dependencies

  • Bumps @types/uuid from 9.0.0 to 9.0.1
  • Bumps sass from 1.58.0 to 1.58.3
  • Bumps prosemirror-schema-basic from 1.2.0 to 1.2.1
  • Bumps ember-auto-import from 2.6.0 to 2.6.1
  • Bumps prosemirror-view from 1.29.2 to 1.30.1

3.1.0 - 2023-02-24

Changed

  • export link nodes in the plugin and deprecate the other import

Removed

  • Removed ember-cli-app-version package

Dependencies

  • Add ember-cli-sass 11.0.1 as peerdependency
  • Bumps typescript from 4.9.3 to 4.9.5
  • Bumps @codemirror/state from 6.1.4 to 6.2.0

3.0.0 - 2023-02-23

Added

  • Handle ctrl click on links
  • Add ordered list feature. Adds the button and appropriate toggling behavior when combined with unordered lists Also includes some needed css fixes
  • Addition of interactive link node
  • Add tab key handler to indent/unindent list items
  • Add eslint-plugin-deprecation package to check for use of deprecated code.
  • Disable undo and redo button when there's no more steps
  • Add support for ordered list styles
  • Added the ability to pass optional attributes to the toggleList command.
  • Addition of spacing between paragraphs/tables and other elements.
  • Added features to add table headings

Changed

  • Increase left-padding of lists
  • BREAKING: Rename Toolbar::Icon to Toolbar::Button
  • remove overflow: hidden on editor container div
  • Replace drone by woodpecker
  • Modernize toolbar dropdown
  • BREAKING: Rework how widgets are passed to the editor
  • BREAKING: Rename of the editor component: Rdfa::RdfaEditor to Editor
  • BREAKING: Removal of the RdfaEditorWithDebug component, use DebugTools instead.
  • BREAKING: Removal of toolbarOptions argument of the editor component
  • BREAKING: Removal of widgets argument of the editor component
  • BREAKING: Rework how embedded views are accessed and operated on from the controller
  • Allow users to set a cursor by clicking in the margin of the editor

Fixed

  • Modify the base keymaps to better support macos users
  • Replace text marks in another way in attribute generation plugin to fix cursor jumping
  • Keep selection on the document when toggling annotations
  • Fix shrinking issues with toolbar buttons and dropdowns
  • Fix sidebar area not clickable when sidebar is hidden
  • Fix alignment of table buttons
  • Only allow paragraphs and lists in the list items

Removed

  • BREAKING: removal of RdfaEditorPlugin class
  • BREAKING: removal of toggleMark controller method, use doCommand in combination with the toggleMark or toggleMarkAddFirst commands instead

Dependencies

  • Bumps @appuniversum/ember-appuniversum from 2.2.0 to 2.4.2
  • Bumps @codemirror/lang-html from 6.4.1 to 6.4.2
  • Bumps @codemirror/lang-xml from 6.0.1 to 6.0.2
  • Bumps @codemirror/state from 6.1.4 to 6.2.0
  • Bumps @codemirror/view from 6.7.3 to 6.9.1
  • Bumps @types/uuid from 9.0.0 to 9.0.1
  • Bumps @typescript-eslint/eslint-plugin from 5.50.0 to 5.53.0
  • Bumps @typescript-eslint/parser from 5.50.0 to 5.53.0
  • Bumps dompurify from 2.4.1 to 3.0.0
  • Bumps ember-cli-app-version from 5.0.0 to 6.0.0
  • Bumps ember-template-lint from 5.3.3 to 5.5.1
  • Bumps eslint from 8.29.0 to 8.34.0
  • Bumps prettier from 2.8.3 to 2.8.4
  • Bumps prosemirror-dropcursor from 1.6.1 to 1.7.0
  • Bumps prosemirror-keymap from 1.2.0 to 1.2.1
  • Bumps prosemirror-schema-basic from 1.2.0 to 1.2.1
  • Bumps prosemirror-view from 1.29.2 to 1.30.1
  • Bumps sass from 1.58.0 to 1.58.3
  • Bumps sinon from 14.0.2 to 15.0.1
  • Bumps tracked-built-ins from 3.1.0 to 3.1.1
  • Bumps typescript from 4.9.3 to 4.9.5
  • Bumps xml-formatter from 2.6.1 to 3.3.0

2.1.4 - 2023-02-23

Fixed

  • move ember-intl config in editor constructor to beforeModel hook

2.1.3 - 2023-02-09

Fixed

  • fix paragraph parsing rule so paragraphs are skipped when they contain block content, not inline content.

2.1.2 - 2023-02-07

Fixed

  • skip paragraph parsing when they contain (erroneous) block content

Some existing documents erroneously contain block elements inside p tags, most notably tables. These got ignored before and parsed as flat text. Now we detect this case and skip the paragraph.

  • remove lump-node css

Now that all tables are editable, we don't need this anymore.

2.1.1 - 2023-02-07

Fixed

  • Preserve whitespace when parsing an html document

Added

  • addition of an attribute generation plugin which auto-generates specific missing attributes.

2.1.0 - 2023-02-06

Fixed

  • Fix space insertion in table cells
  • Fix delete and backspace selecting the whole table when inside of one

Added

  • add canSpec property to nodespecs which is checked before splitting the node with enter

Changed

  • Update and modernize README.

Added

  • A deprecation eslint rule using the eslint-plugin-deprecation package.

Deprecated

  • Usage of ProseController.view, use ProseController.getView instead.
  • Usage of ProseController.state, use ProseController.getState instead.
  • Usage of ProseController.checkAndDoCommand, use ProseController.doCommand instead.
  • Usage of NodeConfig, MarkConfig, PluginConfig, ResolvedPluginConfig and RdfaEditorPlugin
  • Usage of the string-based version of toggleMark, use the MarkType-based version instead.

2.0.1 - 2023-02-02

Fixed

  • Fix wrapping of spaces at line end

Dependencies

  • Bumps eslint-plugin-ember from 11.2.1 to 11.4.6
  • Bumps prosemirror-transform from 1.7.0 to 1.7.1
  • Bumps @types/uuid from 8.3.4 to 9.0.0
  • Bumps iter-tools from 7.5.0 to 7.5.1

2.0.0 - 2023-02-01

Added

  • add a plugin to enable regeneration of UUIDs on paste #556

Changed

  • BREAKING 💥: findNodes now takes an arg object and supports an end position #564
  • Upgrade ember-source to 4.8.2-lts. #568
  • build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.48.2 to 5.50.0 #576
  • build(deps-dev): bump @typescript-eslint/parser from 5.45.1 to 5.50.0 #575
  • build(deps-dev): bump sass from 1.56.1 to 1.58.0 #574
  • build(deps-dev): bump qunit from 2.19.3 to 2.19.4 #573
  • build(deps): bump @codemirror/view from 6.7.0 to 6.7.3 #569

Removed

  • BREAKING 💥: Drop official support for node < 18

1.1.0 - 2023-01-30

Changed

  • Use keep-a-changelog instead of lerna-changelog for changelog generation
  • build(deps): bump prosemirror-model from 1.18.3 to 1.19.0 #558
  • build(deps-dev): bump ember-template-lint from 4.18.2 to 5.3.3 #565
  • build(deps): bump prosemirror-view from 1.29.2 to 1.30.0 #559

Removed

  • remove ember-cli-coverage dependency #567

Fixed

  • ensure delete and backspace behavior around tables is consistent #566
  • improve performance in chrome #563

[1.0.0] - 2023-01-26

🚀 Enhancement

🏠 Internal

  • #562 Remove ember-instance from window and pass it through for ember-nodes (@elpoelma)

Committers: 1

1.0.0-beta.7 (2023-01-25)

fix(commands): focus and scrollintoview on insert-html

1.0.0-beta.6 (2023-01-24)

improve insert-html logic so it doesn't insert unnecessary paragraphs

1.0.0-beta.5 (2023-01-20)

🚀 Enhancement

  • #553 Add functionality to support an embedded view and allow widgets to perform actions on either the outer or inner view (@elpoelma)

Committers: 1

1.0.0-beta.4 (2023-01-20)

🚀 Enhancement

Committers: 1

1.0.0-beta.3 (2023-01-19)

🐛 Bug Fix

Committers: 1

1.0.0-beta.2 (2023-01-17)

🏠 Internal

  • #540 update prosemirror packages to latest versions (@elpoelma)

Committers: 1

1.0.0-beta.1 (2023-01-17)

💥 Breaking Change

🚀 Enhancement

🐛 Bug Fix

  • #499 fix(initialization): emit a selectionchanged after init (@abeforgit)
  • #481 fix(paste): preserve list indentation when copying from word (@abeforgit)

🏠 Internal

Committers: 2

v0.65.0 (2022-11-23)

💥 Breaking Change

🏠 Internal

Committers: 1

v0.64.0 (2022-11-15)

💥 Breaking Change

🚀 Enhancement

🏠 Internal

Committers: 1

v0.63.8 (2022-11-15)

🏠 Internal

Committers: 1

v0.63.7 (2022-11-04)

🐛 Bug Fix

🏠 Internal

Committers: 1

v0.63.6 (2022-10-27)

🏠 Internal

v0.63.5 (2022-10-26)

🏠 Internal

Committers: 1

1.0.0-alpha.14 (2023-01-17)

🚀 Enhancement

🐛 Bug Fix

  • #537 Remove context from parsing rule paragraph (@elpoelma)
  • #535 Add translation for 'insert' and 'show annotations' buttons. (@elpoelma)

Committers: 2

1.0.0-alpha.13 (2023-01-03)

🏠 Internal

  • #521 Ensure placeholders are non-draggable and use placeholder-text as leafText (@elpoelma)

Committers: 1

1.0.0-alpha.12 (2022-12-22)

  • Datastore: fix issue with node mappings

1.0.0-alpha.11 (2022-12-20)

🚀 Enhancement

Committers: 1

1.0.0-alpha.10 (2022-12-20)

fix test import

1.0.0-alpha.9 (2022-12-20)

💥 Breaking Change

🚀 Enhancement

  • #507 Rework placeholders (@elpoelma)
  • #513 Addition of utility functions which allow for searching nodes in a specific range or with a specific condition (@elpoelma)

Committers: 2

1.0.0-alpha.8 (2022-12-14)

💥 Breaking Change

  • #511 Return pos instead of resolved pos from datastore (@elpoelma)

🏠 Internal

  • #511 Return pos instead of resolved pos from datastore (@elpoelma)

Committers: 1

1.0.0-alpha.7 (2022-12-14)

💥 Breaking Change

  • #498 Utility functions to create ember-node-views and ember-node-specs (@elpoelma)

🚀 Enhancement

  • #509 feature(datastore): implement ds as a plugin (@abeforgit)
  • #498 Utility functions to create ember-node-views and ember-node-specs (@elpoelma)
  • #495 Add resolved-positions to prose-store (@elpoelma)

🐛 Bug Fix

  • #508 bug(datastore): guarantee reference stability for datastore data (@abeforgit)
  • #501 fix(npm): fix infinite loop by moving devtools to devdeps (@abeforgit)

🏠 Internal

Committers: 2

1.0.0-alpha.6 (2022-12-06)

💥 Breaking Change

🚀 Enhancement

🏠 Internal

Committers: 1

1.0.0-alpha.5 (2022-11-30)

  • fix mark active state on buttons
  • fix enter handling in lists

1.0.0-alpha.4 (2022-11-30)

🚀 Enhancement

📝 Documentation

  • #400 Correct the description for the text-only paste behaviour. (@elpoelma)

Committers: 2

1.0.0-alpha.3 (2022-10-06)

💥 Breaking Change

🚀 Enhancement

🐛 Bug Fix

  • #398 Bugfix: inline component reload (@elpoelma)
  • #396 Fix issue with computing differences on transaction dispatch (@elpoelma)
  • #389 Enable html pasting by passing a property to the editor component (@elpoelma)
  • #386 Fix: inline component selection issues (@elpoelma)
  • #385 Ensure dom nodes are correctly converted to model nodes (@elpoelma)
  • #373 Fix: view to model behaviour (@elpoelma)
  • #365 Fix issue with inline components not being persisted correctly across reloads (@elpoelma)

🏠 Internal

Committers: 3

vv1.0.0-alpha.1 (2022-09-12)

💥 Breaking Change

🚀 Enhancement

🏠 Internal

Committers: 2

1.0.0-alpha.2 (2022-09-12)

v1.0.0-alpha.1 (2022-09-12)

💥 Breaking Change

🚀 Enhancement

🏠 Internal

Committers: 2

0.65.0 (2022-11-23)

💥 Breaking Change

🏠 Internal

Committers: 1

0.64.0 (2022-11-15)

💥 Breaking Change

🚀 Enhancement

🏠 Internal

Committers: 1

0.63.8 (2022-11-15)

🏠 Internal

Committers: 1

0.63.7 (2022-11-04)

🐛 Bug Fix

🏠 Internal

Committers: 1

0.63.6 (2022-10-27)

🏠 Internal

0.63.5 (2022-10-26)

🐛 Bug Fix

🏠 Internal

Committers: 3

0.63.4 (2022-09-29)

🐛 Bug Fix

  • #376 fix(selection-handler): handle cases where selection is empty (@abeforgit)

🏠 Internal

Committers: 1

0.63.3 (2022-09-20)

🐛 Bug Fix

  • #363 Remove tracked array from inline components registry (@elpoelma)

🏠 Internal

  • #362 Implement htmlContent setter and getter on the RawEditorController (@elpoelma)

Committers: 1

0.63.2 (2022-09-13)

🏠 Internal

0.63.1 (2022-09-07)

🏠 Internal

Committers: 1

0.63.0 (2022-09-07)

💥 Breaking Change

🏠 Internal

Committers: 1

0.62.2 (2022-09-06)

🐛 Bug Fix

  • #318 Modify emit order of selectionChangedEvents and modelReadEvents (@elpoelma)

📝 Documentation

Committers: 2

0.62.1 (2022-09-05)

🐛 Bug Fix

Committers: 1

0.62.0 (2022-09-01)

💥 Breaking Change

  • #312 Replace selection arg by range arg in insert-component-command (@elpoelma)

🚀 Enhancement

🐛 Bug Fix

  • #312 Replace selection arg by range arg in insert-component-command (@elpoelma)

Committers: 1

0.61.1 (2022-08-12)

🐛 Bug Fix

Committers: 1

0.61.0 (2022-08-12)

🐛 Bug Fix

🏠 Internal

Committers: 2

0.61.0-0 (2022-07-15)

🚀 Enhancement

Committers: 2

0.60.5 (2022-07-14)

🚀 Enhancement

🐛 Bug Fix

Committers: 1

0.60.4 (2022-07-13)

🚀 Enhancement

  • #297 Allow plugins to send arguments to their components (@abeforgit)

Committers: 1

0.60.3 (2022-07-11)

🐛 Bug Fix

  • #294 when storing the previous selection, clone the anchor nodes (@elpoelma)
  • #296 Remove erroneous check to avoid duplicate selectionchange events (@abeforgit)
  • #293 Null check on the parent of the range in live mark set (@elpoelma)

Committers: 2

0.60.2 (2022-07-08)

🐛 Bug Fix

  • #295 Insert empty space when inserting an li above another one (@elpoelma)

🏠 Internal

Committers: 1

0.60.1 (2022-07-07)

🚀 Enhancement

🐛 Bug Fix

  • #290 Fix cursor behavior in empty lists (@abeforgit)
  • #289 fixed issue where insert a list a the end of line caused the insertion of a newline (@elpoelma)

Committers: 3

0.60.0 (2022-06-30)

🚀 Enhancement

🐛 Bug Fix

📝 Documentation

Committers: 4

0.59.1 (2022-06-08)

fix issues with disappearing text nodes after inserting newlines

0.59.0 (2022-05-27)

🚀 Enhancement

  • #269 implemented merging of marks on adjacent text nodes (@elpoelma)

🐛 Bug Fix

Committers: 2

0.58.1 (2022-05-23)

🐛 Bug Fix

Committers: 2

0.58.0 (2022-05-16)

🚀 Enhancement

🐛 Bug Fix

  • #272 rework backspace rdfa plugin to avoid some ts issues (@nvdk)

🏠 Internal

  • #268 Addition of the shiftedVisually method which determines a new position based on an existing position and a number of visual steps. (@elpoelma)

Committers: 4

0.57.0 (2022-04-27)

🚀 Enhancement

Committers: 3

0.57.0-0 (2022-04-27)

🚀 Enhancement

Committers: 3

0.56.6 (2022-05-20)

fix types again

0.56.5 (2022-05-20)

Fix type issues preventing the build

0.56.4 (2022-05-20)

🐛 fix drone config

0.56.3 (2022-05-20)

🐛 Bug Fix

Committers: 1

0.56.2 (2022-04-27)

🐛 Bug Fix

Committers: 2

0.56.1 (2022-04-25)

🐛 Bug Fix

  • #259 Fix collapsed selections not detecting marks correctly (@abeforgit)

Committers: 1

0.56.0 (2022-04-25)

💥 Breaking Change

  • #232 Breaking/remove old plugin wiring (@nvdk)

🚀 Enhancement

  • #249 Improved table insert, and column and row insert (@benjay10)

🐛 Bug Fix

Committers: 3

0.55.2 (2022-04-08)

🐛 Bug Fix

Committers: 1

0.55.1 (2022-04-07)

🐛 Bug fix

0.55.0 (2022-04-07)

💥 Breaking Change

🚀 Enhancement

Committers: 1

0.54.0 (2022-04-05)

💥 Breaking Change

  • #246 Implement self-updating regex-constrained sets of marks (@abeforgit)

🚀 Enhancement

  • #246 Implement self-updating regex-constrained sets of marks (@abeforgit)

🐛 Bug Fix

  • #247 convert newlines to br elements when inserting text (@nvdk)

Committers: 2

0.53.0 (2022-04-05)

🚀 Enhancement

  • #245 replace all special spaces when regular spaces when parsing html (@nvdk)

🏠 Internal

Committers: 1

0.52.1 (2022-04-01)

🐛 Bug Fix

Committers: 1

0.52.0 (2022-03-30)

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Committers: 3

0.51.0 (2022-03-11)

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Committers: 3

0.50.0 (2022-02-25)

🚀 Enhancement

  • #224 Add isEmpty utility method on resultset and term-mapping (@abeforgit)

🐛 Bug Fix

  • #225 Make backspace handler trigger contentchanged event (@abeforgit)

Committers: 1

0.50.0-beta.10 (2022-02-25)

💥 Breaking Change

  • #222 Provide a single stylesheet for the dummy app (@Dietr)

🚀 Enhancement

🏠 Internal

  • #222 Provide a single stylesheet for the dummy app (@Dietr)

Committers: 2

If you bump to this release, also upgrade ember-appuniversum to 1.0.0 along with it

0.50.0-beta.9 (2022-02-16)

💥 Breaking Change

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

  • #218 Ember-appuniversum upgrade > 0.11.0 (@Dietr)

Committers: 3

0.50.0-beta.8 (2022-02-11)

🐛 Bug Fix

Committers: 1

0.50.0-beta.7 (2022-02-10)

🚀 Enhancement

🐛 Bug Fix

Committers: 2

0.50.0-beta.6 (2022-01-27)

🐛 Bug Fix

  • #208 Needed support for @plugins on debug component (@benjay10)

Committers: 1

0.50.0-beta.5 (2022-01-26)

🚀 Enhancement

  • #206 Feature/gn 3152 create a debug component for the rdfa editor (@benjay10)

🐛 Bug Fix

🏠 Internal

Committers: 3

0.50.0-beta.4 (2022-01-19)

🚀 Enhancement

  • #204 allow browser delete if the feature flag is enabled (@nvdk)

🐛 Bug Fix

Committers: 2

0.50.0-beta.3 (2022-01-18)

🐛 Bug Fix

  • #202 set field directly instead of using this.set (@nvdk)

🏠 Internal

  • #195 Update eslint and various non-ember plugins to latest (@abeforgit)

Committers: 2

0.50.0-beta.2 (2021-12-07)

🏠 Internal

Committers: 1

0.50.0-beta.1 (2021-12-03)

🚀 Enhancement

🐛 Bug Fix

📝 Documentation

Committers: 1

0.50.0-beta.0 (2021-12-02)

🚀 Enhancement

🏠 Internal

Committers: 2

0.49.0 (2021-11-26)

🚀 Enhancement

🐛 Bug Fix

  • #183 Bugfix: we should not have contenteditable tables exported outside the editor (@Asergey91)

Committers: 3

0.48.0 (2021-11-08)

💥 Breaking Change

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Committers: 5

0.47.0 (2021-08-31)

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Committers: 4

0.46.2 (2021-07-16)

🐛 Bug Fix

  • #133 Make cursor move to correct position after deleting table (@abeforgit)

Committers: 1

0.46.1 (2021-07-13)

🐛 Bug Fix

  • #129 Remove table when last row or column gets removed (@RobbeDP)

🏠 Internal

  • #128 Table column and row commands testing (@RobbeDP)
  • #124 move the dispatcher service inside the editor addon (@nvdk)

Committers: 2

0.46.0 (2021-07-12)

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

  • #127 Changes to getFromSelection methods in ModelTable (@RobbeDP)
  • #126 Commands testing + implementation xml table reader (@RobbeDP)

Committers: 2

0.45.0 (2021-07-01)

0.45.0-0 (2021-07-01)

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Committers: 1