Fonto 7.12.0 ( September 24, 2020)
For the upgrade instructions, head over to Upgrade from 7.11 to 7.12.
A number of APIs will be removed in the 7.14 release. They are listed on the Upcoming Deprecations 7.14 page.
New functionality
-
Authors can now resize the sidebar to their preferred width. Resizing can be done by dragging the black line that appears when hovering the mouse on the left side of the tab buttons while the sidebar is open.
-
We've heard frequent questions about Implementing generated texts for cross references, so we wrote a new guide showing how to do that. To help, we're introducing a number of new XPath functions (fonto:is-document-loaded, fonto:is-document-errored, fonto:document and fonto:resolve-permanent-id). As these make it easier to resolve the target of a reference and query the target document's DOM, they may also be useful in many other cases.
-
Input and search fields now include a convenient clear button to remove the current value.
-
The error pages shown when opening Fonto Editor in an unsupported browser or on an unsupported device now allow users to 'continue anyway' if they know better, or want to try and use it regardless.
-
You can now supply a different syntax for the
format
prop on CalendarDate Label Input. Using this override results in having 3 separate text inputs for the year/month/date(day) parts of a date that can be typed manually to quickly select a date that is far in the past or future. -
The popup shown after clicking on the
i
icon in the status bar on the bottom right can now be customized. We've created a new guide to explain how. -
The new wiris-mathtype-script-url configuration value replaces the old
wiris
scope parameter and can be used to allow running a self-hosted wiris version. Please refer to the Upgrade from 7.11 to 7.12 instructions for details.Editor Script Url -
The fontoxml-special-characters add-on has a new primary
Font Family option to customize the primary (CSS) font-family that is used to render the Unicode symbol of a special character. This allows you to use a font that is also used in your publication so authors see the same symbol glyphs in the editor and in the publication. -
We've added multi-select capabilities to the Structure
View component and fontoxml-project-browser add-on. The new open-project-browser-modal-with-multi-select operation allows selecting multiple structure view items simultaneously. Supporting this are new show
,Checkbox Selector on
,Item Checkbox Click checked
andItems indeterminate
props on the StructureItems View component. -
The fontoxml-dita add-on contains a new insert-topicref-next-to-context-node operation that allows inserting a new
topicref
ormapref
element as a sibling to the context node rather than as its last child (as append-topicref would do). -
It's now possible to customize the names of all table-related elements and attributes in configure
As Cals Table Elements. -
The new fontoxml-table-flow-basic add-on can be configured to support most table models that do not include merging and splitting of cells, including the DITA
simpletable
andreltable
structures. -
Contextual operations configured for table cells now appear in a new element menu widget in the top right of the cell if they are allowed to appear in the
element-menu
context. -
The
column
widget area can now be used in DITABefore <simpletable>
s as well as other basic tables. For these tables that lack column-defining elements, the widgets in this area are linked to the cells in the first row of the table. Additionally, it's now possible to configure multiple widgets to be shown in thecolumn
area for all table types.Before -
The new documents
Hierarchy.get method allows efficiently retrieving the Documents Hierarchy Node for a given Hierarchy Node Id. If you previously used documents
or manual iteration for this purpose, consider using this new method for improved performance.Hierarchy.find -
Editors using embedded mode can now configure whether the status bar is initially visible or hidden using the statusbar-configuration configuration value.
-
The Fonto Development Tools now offer a
--write-to-disk
option for development builds of Fonto Editor. This can be used to output the incremental development builds under the./dev
directory on disk instead of keeping them in-memory only. This can be useful for certain development set-ups.
Resolved issues
-
We've improved the performance and reliability of using add
Reducer (automatic numbering) on large documents. These cases should no longer sometimes trigger stack overflow errors. -
Resolved an issue where the wrong
is
value was passed to a reducer function in certain cases where the reducer's selector matches hierarchy source nodes.Source Node -
We fixed validation of certain simple types that were either being too strict (NMTOKEN, Name and NCName, all of which did not allow non-ASCII characters) or that allowed a few values that should not be allowed (float and double).
-
It's now allowed to edit an element in a way that causes it to become read-only due to configure
As Read Only configuration rules. -
We fixed a case where using configure
As Invalid in combination with a selector that concerns attributes could cause an error. -
Fixed an issue where update scripts using the "replace value of node" expression would crash.
-
Fixed a few issues where executing table operations on a table that did not support the corresponding feature (e.g., splitting a cell on a basic table) could cause future operations to crash.
-
The convert-element operation no longer places your cursor before the converted element if it was empty. It now leaves the cursor inside of the element.
-
We fixed a bug that could cause a "Cannot read property 'hasPermanentSaveError' of null" error to occur when working in an editor with JIT-loading enabled under certain conditions.
-
We fixed an issue where attempting to scroll in an overflowing toolbar could cause a crash.
-
We resolved an issue where normalization would sometimes not occur when moving the cursor to a different document.
-
If an operation leaves the cursor in an invalid position and no valid position can be found nearby, Fonto will now clear the selection. In previous releases and with certain configurations such operations could cause the cursor to appear in unexpected positions, such as between table rows.
-
We fixed an issue in the fontoxml-dita add-on that would cause topics to stay in the loading placeholder state indefinitely when their
format
attribute was not (or did not default to)"dita"
or"ditamap"
. -
We resolved an issue where scrolling nodes into view would not always work reliably for targets in JIT-loaded documents.
-
The open-operations-browser-modal operation from the fontoxml-operations-browser add-on now correctly uses the data for each of the specified operations when an operation is selected and executed.
-
The
inline
andBefore inline
widget areas now also work for the configureAfter As Inline Image CVK family. -
Setting the
default
property in configureText Container As Inline Structure now works as expected. -
The
is
prop on configured popovers in the content view is now updated accordingly when the read-only state changes while the popover is open.Read Only -
We fixed a bug in the Cross
Reference Popover that would cause it to ignore a configured title
when generating the title preview for the link target.Query -
Resolved an issue where errors thrown while rendering a document would in some cases cause Fonto to go to the error route instead of causing only the view in question to display an error.
-
A conditional tab in the editor masthead (for example the table toolbar tab) now correctly stays active while certain updates occur out of order. In previous releases, operations such as removing an element that contains the cursor and simultaneously moving the cursor to another location could cause the toolbar to switch back to the first tab.
-
Right-clicking in locations where there is no context menu no longer prevents scrolling.
-
When opening Fonto with multiple consecutive documents that have errors, sometimes not enough documents were displayed initially to fill up the complete viewport. This has been fixed.
-
The grey background of an inactive text selection is no longer visible when displaying a document in preview mode (e.g., when the document currently containing the cursor is shown in a browse modal).
-
Using the Breadcrumbs component with certain custom components as breadcrumb items no longer causes an error.
-
Rendering multiple Fx
Node Preview components in a scrolling sidebar no longer causes that sidebar's scroll position to jump back when attempting to scroll. -
If multiple operations fail (or fail to determine their state) at the same time, Fonto no longer shows multiple instances of the "Something went wrong" modal stacked on top of each other.
-
The configure
As Inline Image In Frame family no longer ignores the given markup
. These images are now also better centered in their frame.Label -
The configure
As Inline Object In Frame family no longer ignores the given create
option, making it actually useful now. Note that while configureInner Json Ml As Inline Object renders this JsonML as an inline-block
and does not render children, this family renders as an inline frame containing the JsonML as aninline
element followed by the element's children. -
We fixed a long-standing issue where the
configure
families would not set theAs Inline Anchor To base
CVK option toLine superscript
by default. -
Selecting a table or its various parts with widgets enabled no longer shows the selection highlight extending outside of the table.
-
We resolved a few cases where the grey inactive selection would cover a larger area than the normal yellow selection, in particular when selecting complete sheet frames.
-
Sheet frame borders no longer 'leak through' expanded tables when toggle-display-mode-document is used.
-
We resolved an issue where the selection in the XML source view could be displayed incorrectly at browser or system text zoom levels other than 100%.
-
Squiggles are no longer selected unexpectedly when dragging over them and releasing the mouse. Only clicking on a squiggle (without dragging) selects it.
-
Fixed a bug that would cause the popover for configure
As Related Link elements to close unexpectedly if the document becomes read-only. -
We've improved the performance of navigating through large tables using the tab key.
-
We've improved the performance of the Documents
Hierarchy's find
method in large hierarchies.Next Visible Hierarchy Node -
Fixed an issue where fonto:hierarchy-source-node and fonto:current-hierarchy-node-id would not invalidate queries if their result changed.
-
The development server, used for developing Fonto Editor instances, will not verify SSL certificates anymore for proxy endpoints.
Other improvements
-
We have implemented various optimizations in our table operations to make them even more efficient, making the table context menu a lot faster to open now.
-
We have made some tweaks to the organization of the default table context menu for improved usability and performance.
-
The filter function registered using register
Pasted Nodes Filter is now also applied to content generated by pasting HTML or other rich text. Previously it would only be applied when copy / pasting from Fonto. -
We now default the allow
Merging With Ancestor CVK option to allow
for inline formatting families. Please refer to our upgrade instructions for details on how to check whether this affects your configuration.Merging With -
We've deprecated the old
*-ui-pane
operations and replaced them with the open-sidebar-tab and toggle-sidebar-tab operations. Theui-pane
terminology was a leftover of our old Fonto 6.x UI components. -
The neutral theme is now the default theme for Fonto. See Themes for information on how to switch back to the blue theme.
-
We've updated the icons for the Quality Check and Review sidebars to be different from each other.
-
Previously, Fonto included a font that covered a subset of emoji, which caused some emoji characters to be displayed in a different style compared to others not covered by that font. Emoji and other special characters will now always be displayed using the system fonts.
-
The same errors/warnings that are shown for documents in their sheet frame header are now also reflected on the corresponding item in the structure view.
-
When loading, Fonto will now place the cursor in the first document rather than the first editable one. To override this, use the
initial
on the InitialDocuments Loaded Notifier Documents Manager to execute an operation to move the cursor to the desired location when the initial documents finish loading. -
Document previews that fail to load now include a Retry button to try loading the document again.
-
The image browser now shows the preview pane as soon as it opens in order to prevent the visual shift seen when you select an image in previous versions.
-
The Calendar
Input can now be fully controlled using the keyboard, using Tab to reach all parts and arrow keys to navigate through the calendar grid. -
FDS positioners (used for popovers, drops, tooltips, etc.) will now try to prevent overlapping other positioners automatically.
-
Submenus in the Outline view are now able to be rendered outside of the bounds of the sidebar.
-
Popovers opened from the sheet frame header now automatically close when scrolling.
-
We improved the text in the Replace All warning modal in the fontoxml-find-and-replace add-on.
-
We improved the text in the remote document state popovers to better align with the corresponding messages shown in the sheet frame header.
-
We aligned the appearance of the fontoxml-annotations squiggles with those from Fonto Review.
-
We fixed the inconsistent padding around icon widgets with a
click
used in theOperation Name column
area.Before -
We now remove abstract element definitions from the compiled schemata. As per standard, these definition can never be validated against. This shrinks the size of compiled schemata.
-
This release includes FontoXPath 3.13.3. Please refer to its releases page for more information. We've also made sure to update the xspattern library so the behavior of
fn:matches
better follows the specification. -
For the release notes of Fonto Review, please click here.
-
For the release notes of Fonto Document History, please click here.