Digital Writer 4.11.0

Compatibility

  • PluginBundle >=7.9.0
  • Editor Service >=3.6>=4.0

Released 2019-01-22

Release overview

Description

This release has a focus on improved user experience, internal code quality, deprecating some older api functions, and getting rid of long standing bugs. Among other things the menus have changed their UI slightly, it should be easier to select text over several paragraphs and apply styles, focus below the last object in the text area and much more.

Changes in this release

New Feature

Improvement

  • WRIT-825 - Content menu plugin menu options should have an option to be displayed more densely
  • WRIT-819 - It should be possible to change annotations (bold, emphasis, etc) on multiple text blocks simultaneously
  • WRIT-816 - Revamped UI for context, content and annotation menu
  • WRIT-811 - Improved document api for inserting text and block nodes in content area
  • WRIT-804 - Major internal refactor of writer core components and services
  • WRIT-798 - Rename Save button to Ok in settings menu
  • WRIT-797 - Automatically focus on image byline input when opening dialog
  • WRIT-796 - Identical updates should not generate errors in Open Content
  • WRIT-792 - Improve visual indication on buttons and toggles when navigating through ui components using tab
  • WRIT-780 - It should be possible to switch text style for multiple paragraphs simultaneously
  • WRIT-779 - Add space below article text to allow vertically centering last text line
  • WRIT-778 - Close non sticky popovers when clicking somewhere else
  • WRIT-763 - Clicking below the last object in the editor should automatically insert new paragraph
  • WRIT-762 - The right column should preserve active tab on reload

Bug

  • WRIT-833 - Selecting text fields in editor objects e.g. table cells should not produce content menu warnings in console
  • WRIT-832 - The default config parameter should be returned if data section is missing in a plugin configuration
  • WRIT-831 - Paragraph must always be exported in NewsML as element with type body
  • WRIT-830 - Insert paragraph keyboard shortcut should be displayed in content menu
  • WRIT-829 - Inserting block nodes while having text selected should not generate errors
  • WRIT-827 - Table context menu items should display correctly without collapsing
  • WRIT-826 - It must be possible to see which crop is selected in the crop dialog
  • WRIT-824 - Text styles should not be visible left of the text by default
  • WRIT-822 - The content menu pencil icon sometimes stops following the users caret into an empty line
  • WRIT-815 - It should be possible to add photo date in image meta archive dialog without specifying a time
  • WRIT-808 - When pasting several paragraph all paragraphs must be run against the spell checker
  • WRIT-803 - Focused image gallery should not completely cover all content below
  • WRIT-802 - Writer should be able to start without conceptServiceConfig
  • WRIT-800 - Confirm close dialog should not appear when clicking download image in image object
  • WRIT-799 - Use correct font in dialogs and popovers
  • WRIT-793 - Correctly set and clear history when article is edited
  • WRIT-791 - Save should be disabled when saving is already in progress
  • WRIT-789 - Allow carriage return image archive description without closing dialog
  • WRIT-784 - More space below last element so caret is always visible
  • WRIT-783 - Cursor should not loose its position when pasting text
  • WRIT-782 - Allow clicking below last element or object in editor area to insert new paragraph
  • WRIT-781 - Paragraph plugin converted to a writer built in component
  • WRIT-776 - Always force plain text paste in editor area

Upgrade notes

WRIT-825 Content menu plugin menu options should have an option to be displayed more densely

A new optional setting is available, contentMenuStyle, in the root of the writer client settings. Set this to dense in order to have the old, more densely, content menu UI.

WRIT-804 Major internal refactor of writer core components and services

Breaking

In this version, the paragraph plugin is built into Writer core functionality. Remove the plugin configuration item for se.infomaker.paragraph to avoid any errors on startup.

UI components

api.ui.getComponent() is deprecrated in favour of using import {<UIComponentName>} instead.

UI component names not prefixed with UI are deprecated in favour of names prefixed with UI. Ie BylineComponent have been renamed to UIByline.

Configurator

Configuration function configurator.addConverter(type, converter) is deprecated, use configurator.addConverter(converter) instead.

API

Specialized api functions for triggering events (ie api.events.userActionUnlock(), api.events.triggerEvent()) is deprecated on favour of the more generic api.events.trigger().

api.document.getDocumentNodes() is deprecated, use api.document.nodes() instead.

Using api.document.insertBlockNode(name, data) with name and data as parameters is deprecated. See documentation for exact usage.

api.newsItem.setSource() is deprecated, use api.newsItem.replaceSource(sourceXml, etag) instead.

api.newsItem.addConceptProfile() and api.newsItem.updateConceptProfile() is deprecated, use api.newsItem.addContentProfile() and api.newsItem.updateConceptProfile()` instead.

WRIT-783 Cursor should not loose its position when pasting text

The forcePlainTextPaste config key in writer-client.json is no longer used. The writer will always use plain text paste.