This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
Releases: ckeditor/ckeditor5-heading
Releases · ckeditor/ckeditor5-heading
v1.0.0-alpha.1
Internal changes only (updated dependencies, documentation, etc.).
v0.10.0
Bug fixes
Other changes
- Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). (63b6c1c)
- Heading dropdown items should never revert the state, apply only. Closes #83. (3f25a21)
- Removed
HeadingCommand
's properties which were exposed unnecessarily. Closes #78. (c80e691)
BREAKING CHANGES
- The command API has been changed.
- The
HeadingCommand
constructor's second parameter was changed from theoptions
object to themodelElement
alone.
NOTE
- The
HeadingOption
interface was moved to theheading/heading
module.
v0.9.1
v0.9.0
Bug fixes
- Changed the default heading drop-down title to a more meaningful one. Closes #68. Closes #62. (1c16e96) and (e58dadc)
- Drop-down should be inactive when none of the commands can be applied to the current selection. Closes #66. (0ebd5cd)
Features
- Active heading is marked in the drop-down list. Closes #26. (39ba14b)
- Enabled the tooltip for the 'headings' component in editor.ui#componentFactory. Closes #55. (794e6df)
- Named existing plugin(s). (7d512cd)
- Split "heading" command into independent commands. Closes #53. Closes #56. Closes #52. (7a8f6f0)
- Styled items in the headings toolbar dropdown. Closes #38. (0365333)
Other changes
- Introduced consistent height and spacing among headings dropdown items. Closes #63. (68d93ff)
- Updated translations. (fc95eee)
BREAKING CHANGES
- The "heading" command is no longer available. Replaced by "heading1", "heading2", "heading3" and "paragraph".
Heading
plugin requiresParagraph
to work properly (ParagraphCommand
registered as "paragraph" ineditor.commands
).config.heading.options
format has changed. The validHeadingOption
syntax is now{ modelElement: 'heading1', viewElement: 'h1', title: 'Heading 1' }
.