Skip to main content

New Features

New whitespace font

With the new release we included a whitespace font for rendering the following characters:

  • Space (U+0020)
  • Non breaking space (U+00A0)
  • En space (U+2002)
  • Em space (U+2003)
  • Three-Per-Em space (U+2004)
  • Four-Per-Em space (U+2005)
  • Figure space (U+2007)
  • Punctuation space (U+2008)
  • Thin space (U+2009)
  • Hair space (U+200A)

In order to toggle the displaying of white spaces, we added a new toolbar button button:xeditor.toggleWhiteSpaceFont

Updated NBSP handling

In some scenarios, the browser (especially Chrome) might insert an NBSP character instead of a regular space. This is related to the fact that the browser collapses multiple spaces and might an NBSP for rendering reasons.

However, we obviously do not want the browser to insert NBSP characters into your document. Therefore, we use a different character from the UTF-8 private range (U+F6D9) as an NBSP replacement. All user actions that should insert an NBSP, will insert this character instead. Upon save, we replace all NBSPs with regular spaces, since all NBSPs that are in the document were inserted by the browser, no the user. Our NBSP replacement character will be replaced with a regular NBSP and therefore maintaining the content as your author intended it to be.

Important note: Since we use an alternate character as an NBSP within Xeditor, it's recommended to remove any custom font that renders an NBSP and use the one provided by Xeditor instead. If you use a font that renders NBSPs (U+00A0), NBSPs that are inserted automatically by the browser will be displayed, even though they won't be part of the resulting XML.

Technical Details

Core v6.8.0

Changes

  • enableNotifications will now always create a new instance of the notificator class and assign it to the editor. This flag will configure to use toasts if enabled, dialogs otherwise.
  • Introduced shortcut for inserting nbsp, set to Ctrl+Space as default
  • Introduced new helper Method Document::insertCharacter for inserting given character at current cursor position
  • Introduced new NBSP handling causing NBSPs automatically inserted by the browser to be not part of the resulting XML content
    • instead of NBSPs user actions will insert private UTF-8 character Ext.ux.xeditor.Editor.ALTERNATE_NBSP_CHARACTER which will be replaced with regular NBSPs upon save
    • NBSPs that got automatically inserted by the browser will be replaced with regular spaces upon save
    • Causes the resulting XML to only contain NBSPs that were actively inserted by the user
    • Added util methods replaceNBSPWithAlternateCharacter and replaceAlternateNBSPCharacter
  • Added button xeditor.showWhitespaces which will enable/disable display of whitespace characters.
  • Added font that offers whitespace support
  • Changed property placeHolderChar to be a config
  • Changed default value of placeHolderChar from zero-width-space to private UTF-8 character (uF6DA)
  • Updated webFontConfig to handle new fonts

Bugfixes

  • Removed unused properties and configs from API documentation
  • Added saveParams to the provider save when saving document
  • Removing with Ctrl+Backspace fixed
  • Fixed issue causing Drag&Drop being enabled even though editor was not in edit mode
  • Fixed the border of table header row in FireFox
  • Fixed a bug that when notifications are disabled a JavaScript error is thrown if the license check fails

Plugin-Attributeslist v1.4.1

Bugfixes

  • Added check for activeItem in updateAttributesPanel
  • Added check for listElementsWithoutAttributes

Plugin-Spellchecker v3.0.2

Bugfixes

  • Fixed issue in method getLanguageContainers

Plugin-Footnote v2.0.1

Bugfixes

  • Fix a bug where footnotes are collapsed when loading a new document part

Plugin-HTMLTable v3.0.1

Bugfixes

  • Add first column fixed
  • Events of the changetracker (trackend, trackstart, ...) fire now through the document how they are supposed to
  • Added editable checks
  • Hide "add symbols" when editor is not in edit mode

Plugin-Characterpicker v2.2.0

Changes

  • Instead of an NBSP, Ext.ux.xeditor.Editor.ALTERNATE_NBSP_CHARACTER will be inserted in order to avoid conflicts with NBSPs that were automatically inserted by the browser
  • Set peer dependency to core module to match at least version 6.8

Plugin-XMLView v2.3.0

Changes

  • Adapted to usage of alternate NBSP character

Plugin-Comment v2.1.2

Bugfixes

  • Fixed a bug where empty comments could be created

Server-Blackbox v2.5.0

Changes

  • Updated libxmljs to libxmljs2 dependency and imports
  • Added health service to check if the server is still running. The new service is available under /editor/health

Server-Blackbox-Dita v2.4.0

Changes

  • Updated libxmljs to libxmljs2 dependency and imports
  • Added health service to check if the server is still running. The new service is available under /editor/health