All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Remove React as a direct dependency
- Update all packages, including React to version 18
- Collaborative editing via yjs has been deprecated and will be removed in the next version. A hook-based replacement will be proposed in the future.
- Add __experimentalUndo for editing that better matches core Gutenberg
- Replace refx with equivalent core version
- Now doesn't automatically set up the media uploader - you must do this manually (see readme)
- Add an ActionArea slot to insert components into the Gutenberg actions sidebar
- Update to latest Gutenberg 14.3.0 packages
- Fix FooterSlot (#187)
- Add support to custom previews (#186)
- Do not override default window.wp namespace (#185) (cb85bcf)
- Support both gutenberg v13 and v14 layout margins (#183)
- Fix issues with Gutenberg v14.0.0
- Add a new boolean 'header' setting so that it can be disabled when not neede
- Fixed the deprecated use of BlockNavigationDropdown
- Remove some old CSS adding focus borders to some blocks
- Update interface store to match latest Gutenberg libraries
- Add callback prop to main editor component to be able to listen to onSelection events
- Keep internal state in sync when onChange and onInput are called
- Fullscreen works correctly if unmounted before disabling fullscreen mode
- The block inserter header now only appears on mobile
- Allow extending the editor by externally managing its content
- Update inspector Popover usage to work with Gutenberg 13.3.0
- Add EditorHeadingSlot to allow content to be inserted before the editor. For example, a title.
- Duplicate interface store to fix problem with different context stopping block inspector from working
- Stop using experimental link suggestion
- Fix caret position when undoing in collab mode.
- Revert @wordpress/interface to 4.4.0 to restore block inspector functionality.
attachEditor
now takes an optional settings object
- Fixed basic handling of nested lists in collab mode.
- Fix
documentInspector
option so it allows the document title to be changed
- In collab mode, add support for same-block concurrent editing.
- Sanitize HTML in block attributes received from collab peers.
is-preview-mode
class is added to the editor when preview is enabled
- Pattern fix in 2.9.1 stopped patterns being triggered normally.
- In collab mode, prevent emojis from being separated by a peer caret when the emoji consists of more than one Unicode code point.
- In collab mode, prevent peer carets from disappearing when at the end of List block items.
- Only change current pattern if the pattern name changes. Helps to fix an infinite loop situation.
- Renamed collab-related selectors and action creators for clarity:
getPeers
togetCollabPeers
hasPeers
tohasCollabPeers
setAvailablePeers
tosetAvailableCollabPeers
setPeerSelection
tosetCollabPeerSelection
- Smart undo/redo functionality in collab mode. Each peer will only be able to undo their own edits and not of others, with the current limitation being that they are editing separate blocks.
- Fix CSS override to disable Gutenberg's mobile
position: static
- it needs to be important but still allow previews to work
- Add support for changing device types (via
setDeviceType
andgetDeviceType
) - Add support for resizable canvas
- Add editor styles to editor
- Set a default
__editorAssets
if not defined - Fixed block previews not detecting height changes
- Fix invalid default editor styles
### Fixed
- Fix crash with Gutenberg 12.1.0
- Updated all package versions to resolve a dependency problem
- Restore previous
is-fullscreen-mode
behaviour - Set a max width on interface skeleton to help stop wide content pushing outside of the editor
- Change how inserter is closed so it works better with pattern explorer
- Uses Gutenberg interface skeleton, changing the overall layout of the editor
- Gutenberg sidebars, for the block inserter and inspector, are supported through the
sidebar
setting footer
setting to enable the footer areaFooterSlot
component to insert content into footer area
- Fix changing of caret avatar text color in collab mode
- Fix no list margin in Gutenberg term component
- Editor now saves initial content if there is anything to save
- Browser build contains toolbar styles
- Browser build now contains
@wordpress/keyboard-shortcuts
module - Prevent duplicate collaboration format registration
- Fix multi-line collaboration carets
selectorTool
setting to show the selector tool
- Toolbar has changed to match core Gutenberg and will now be two lines in height (when using 'top toolbar' mode)
- Use
ShortcutProvider
to prevent crash with Gutenberg 11.6.0
- Tweaks to collaborative editing UI.
- Further fix to blur event in block inspector to catch clicks that fall in the popover itself
- Change collaborative editing features to be enabled via a top-level named export to avoid unnecessary bundle bloat.
- Show outline around blocks that are currently being modified by peers when collaborative editing.
- Presence avatars for collaborative editing peers.
- Update peer caret position indicators more frequently while collaborative editing.
- Fix handling of initial content from
onLoad
when collaborative editing is enabled - Improved reliability of collaborative editing when multiple peers are typing simultaneously
- Fix blur event when clicking in some UI components in the block inspector
- Updated all @wordpress packages to latest
- Support for real-time collaborative editing (experimental)
Skipped due to mishandling of release.
ToolbarSlot
added for toolbar customisation- Add
getEditCount
selector to help detect changes
- Updated all @wordpress packages to latest
- Package renamed to @automattic/isolated-block-editor