The spell-checker-configuration now supports an optional
ietfLanguageCodeByInternalLanguageCodemapping, which can be used to map values for the language attribute to dictionaries supported by the spell checker.
- For very large DITA maps, the new map-manager-automatically-load-topicrefs configuration value can be set to false to disable automatic loading of documents referenced by the root map. Fonto will now display placeholders in the content and structure views for any documents referenced in the DocumentsHierarchy that are not loaded. Clicking these placeholders will load the document. Additionally, applications can implement custom logic to automatically load a subset of documents using the new load-document-for-hierarchy-node operation.
- Placeholders in the content and structure view for documents that are unloaded or currently loading now display the result of the configured
titleQueryfor the source element, if available. This can be used, for example, in DITA maps to display a
navtitlewhile the document has not yet been loaded.
- We have fixed a lot of bugs and other quirks in the way Fonto handles content (including tables, lists and inline formatting) pasted from other applications, especially Microsoft Word and Excel. Additionally, copying content from Fonto into these, as well as many other applications should now much better preserve any structures and formatting.
- Comments (made using the fontoxml-annotations add-on) can now be copied and pasted. To avoid confusion, copied comments will automatically be marked as copies. Any replies will be copied along with the original comment. Additionally, comments can now be removed using backspace.
- It is no longer necessary to indent or outdent list items one by one. Simply select a number of items and use the indent-list-item or outdent-list-item operations to indent or outdent all of them simultaneously.
- FontoXML now allows placing the cursor in read-only documents. This creates consistency with elements configured as read-only, as well as making it easier to select content from such documents using the keyboard (e.g., for copying it to another editable document).
- Removing a long-standing limitation, FontoXML now supports custom mutations that affect multiple documents. It is no longer required to target a specific document using either the selection or
contextNodeId. Looking up, mutating and validating nodes from any loaded document will now just work. Additionally, undo and redo now work across documents, so actions can be undone no matter which document the cursor is in.
- The map mutation operations provided by the fontoxml-dita add-on no longer clear the undo stack and can now be undone by pressing undo from any loaded document.
- A failed document save (with an error that is considered permanent, such as a 404 status) no longer makes the editor go to the error route. Instead, the document will now become read-only and offer the option to reload the document. Similarly, we have improved the error handling and user experience for document state and lock requests and removed a few inconsistencies in the way this state was presented.
- It is now possible to prevent registration of the default operations for the experimental drag and drop support introduced in release 7.4, by setting the configuration values enable-experiment/default-generic-drag-and-drop-operation and/or enable-experiment/default-dita-drag-and-drop-operation to
- FontoXML Content Quality has been updated to version 1.4.0. Please refer to the release notes for details.
- FontoXML Document History has been updated to version 3.0.0-beta3. Please refer to the release notes for details.
Errors thrown while rendering a document's content are now handled properly and result in an error placeholder being shown instead of leaving the displayed document in an inconsistent state.
Any error thrown by a Notifier callback is now considered fatal. Such errors will prevent other callbacks from running, which generally leads to an inconsistent application state. If an error is thrown, the application will now redirect to the error route.
Custom namespace prefixes returned by the MathType editor (mathml-edit) are now preserved correctly when the MathML is inserted into the document. Please refer to the documentation for the fontoxml-mathml add-on for details.
An unfortunate typo caused simple types for elements to not be validated. This has been fixed.
Several transforms such as setContextNodeIdToSelectionAncestor now set the
contextNodeIdstep data property to null if no matching node was found. Previously, the old value would be used, which could result in unexpected behavior.
We fixed an issue where retrying to load a document would not reload the document from the CMS if certain errors occurred during load.
We fixed an issue where the reload button was not shown for load errors for applications that do not use any loading strategy (i.e., not fontoxml-dita DITA map support, nor fontoxml-single-document-hierarchy, nor a custom implementation).
The DITA map implementation no longer issues multiple loads for the same document if it is referred to from different maps using permanent reference IDs.
Keybindings using the dash "-" character now work as expected with both the normal dash key as well as the numpad minus key.
- We resolved a number of issues where a table was rendered incorrectly after some operations, including removing certain columns or merging all cells across two columns.
- The undo stack no longer groups multiple text changes if the cursor was moved in-between. This prevents undoing too much by accident.
- Selecting an item from a SingleSelect using the enter key no longer accidentally triggers
onKeyDownlisteners in parent components, such as a Modal. This prevents a Modal from being submitted when selecting an item in a SingleSelect using the enter key.
- SingleSelect inside a FormRow whose
labelPositionis set to "
before" now correctly fits within the available space and truncates long item labels as necessary.
- VirtualGrid now correctly takes the configured padding and width of the scrollbar into account when determining the number of items per row. This prevents a row with a single item in it, followed by a row with multiple items in it.
- The padding in FDS' Grid (and therefore in Fonto's SymbolsGrid) is now correctly applied to all sides of the Grid.
- Buttons have been made more consistent in their use of padding and background- and text-color. The Button example on the FDS Playground now shows a complete overview of all different Button states, types and context combinations that are supported.
- The find and replace drop no longer resizes when the results counter changes.
- We fixed a bug where the arrow of the Popover component would sometimes be positioned outside of the popover.
- Omitting the
referrerDocumentIdproperty for createNewDocumentFromRemoteTemplate now works as expected and results in no referrer being sent to the CMS.
- Operations with
alternativesnow use the
activestate of the first operation if all operations in the
alternativesarray are disabled.
- Fixed a possible crash in various operations if a structure within a given stencil was configured as invalid. These operations are now correctly disabled in this case.
- Resolved an issue where the horizontal-insert operation would take a long time or run out of memory when used on nodes with a very large number of children.
- Table header cells erroneously had their
font-weightset to bold (browser default), ignoring the CVK configuration. If you want to have bold text in table header cells, you'll now need to configure this explicitly.
- The selection in the XML source view now scrolls into view as expected when the sidebar tab is opened, and updates correctly when the window is resized.
- An issue has been resolved where a Notifier callback could still be called once after it was removed, if the removal happened synchronously in another callback on the same Notifier.
- Document-zoom no longer breaks use-embedded-mode (when using the zoom-content-to-* operations). The documentation for the embedded mode feature has been updated and clarified to reflect the limitations of these operations in this mode.
useEmbeddedModecan now be set to either true (boolean) or "true" (string) when specified in the scope query parameters. When setting use-embedded-mode as a configuration variable, it still has to be set to true (the boolean, not the string).
- Embedded mode no longer shows an unwanted horizontal scrollbar when using an object template with a block outside after widget (such as an element menu button) for the root element of a document in the content view.
- We made sure the overflow slider isn't too short in Firefox for the sidebar tab buttons under certain conditions.
- The context menu no longer refreshes the state of the operations displayed multiple times when it is opened or closed, which should make it a little more responsive.
- It is no longer possible to edit documents while the context menu is open. This prevents the unfortunate situation of being able to remove the part of the document for which the context menu was opened, while it is open. Previously, removing content and then pressing a menu item concerning the removed content could result in the error modal being shown.
- We resolved an issue where the spell checker add-on would re-check content for any attribute change.
- We resolved an issue where the spell checker would sometimes be unable to apply a suggestion or could even apply it in the wrong position.
- The spell checker no longer requests the same suggestions for the same correction twice in rapid succession.
- We resolved a few cases where clicking in the content view would not correctly set focus to the sheet frame or place the selection in the editor. This could in some cases prevent selection highlights from being displayed for objects and placeholders.
- We resolved an issue where loading a new document could cause a React warning to appear in the browser's developer console.
- We resolved an issue where document history did not correctly scroll certain changes into view when clicking the corresponding card.
- The document history PartialChangeDiffConfiguration now correctly supports setting the
- The fontoxml-annotations add-on now tries to gracefully handle situations where the fontoxml-author processing instructions have been removed from the document (e.g., by an external process). Such comments will be displayed as authored by "anonymous", and may now be deleted without errors.
- We resolved an issue where text in createRelatedNodesWidget or createRelatedNodesQueryWidget was not editable in Safari.
- In Safari, when hovering over a (DITA
related-link's) link, sometimes a text insertion cursor was shown even though the text is not editable. This has been resolved.
- The convert-range-to-plain-text could result in an "operation failed" error being shown in some cases. This has been resolved.
Ctrl+A is now handled by Fonto, which should ensure it now consistently selects the entire contents of the sheet frame containing the cursor.
We resolved an issue where Find & Replace results were not updated when a new document was loaded.
The Find and Replace tooltips now display the correct keyboard shortcuts on all platforms.
We resolved an issue where errors triggered by loading a document sometimes caused a different error to be reported in the UI.
We resolved a rare issue where, after some updates, the cursor could not be placed in certain positions.
We resolved an issue where the set-attributes operation could cause an error when invoked on an element that is ignored for schema validation due to an
We have added previously missing documentation for blueprintRangeQuery, which offers helper functions for retrieving nodes from blueprints using ranges.
The FontAwesome icon set has been upgraded to version 4.7.0. Although our documentation already referred to this version, it turned out previous releases were actually using version 4.5.0.
We worked hard to optimize performance in many areas, including (but not limited to) handling large documents, large numbers of documents, selections containing a large number of elements or editors configured for a large number of different elements.
React and React DOM have been upgraded from version 16.0.0 to 16.6.3, allowing use of newly introduced API's. Please refer to the release notes for this release for details. Take special notice of deprecated API's in this release, in particular the component lifecycle methods. These API's will remain working and will not throw warnings since we are not using React's strict mode. However we do encourage to use the recommended React API's in future code and upgrade existing legacy code.
Operations invoked from the content view (through widgets or a configured
clickOperation) are now passed the
hierarchyNodeIdof the corresponding view, which helps to focus the correct instance in cases where the targeted node appears multiple times.
Popovers that are opened from anchors inside the content view are now automatically closed when the anchor is deleted.
- configureAsInvalid now displays warnings in the browser console if the selector depends on information outside the set supported by this feature (which consists of the attributes, siblings and children of all ancestors of the context node).
- The replace-node operation now supports replacing a node with a single text node, by passing a string as the
- Heading and headings inside a ModalHeader (using the
titleprop) now correctly overflow across multiple lines.
- MenuItems now have a specific style for when they are both disabled and selected. Also, when hovering over a selected menu item, a different (lighter) hover style is used to give feedback when toggling a menu item while hovering over it.
- The structure view will now scroll horizontally for very deep hierarchies, to ensure even the deepest levels get enough space to display their titles.
- The loading spinners displayed in the structure view are now consistent with the spinners used in other parts of the UI.
- Operations with the
labelset to the empty string no longer cause UI components to display the operation name instead.
- Performance of validating and rendering large CALS tables has been improved. Custom table definitions can now provide an optional
environmentQueryin which global information can be determined to speed up per-cell queries.
- Refreshing the browser on the error route now redirects to the editor and reloads the document.
- We are continuing work towards supporting the XQuery and XQuery Update Facility standards. These features are still in preview state, and may change in future releases.
- The Development server can now serve XML documents saved in a number of encodings that were not previously supported, including UTF-16-le and UTF-8 (with or without byte order mark).
- Along with several performance and stability improvements, FDT can now be used to install nightly pre-releases of Fonto by using the new
--versionoption. Install the latest version by running
npm install -g @fontoxml/fontoxml-development-tools.
- FDT no longer requires a
catalog.xmlfile when compiling a schema.