You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like position of some plugins in the editor's plugins array has an impact on Indent functionality and indentCommand.isEnabled is always false.
After adding Indent to the build and keeping this plugins order:
The same thing occurs if Paragraph and Heading plugins are loaded, but in this case, the position of Paragraph plugin doesn't have any impact on Indent in favour of Heading.
right now it is done in init() and other plugins defines schema in init() method. It's a bug as we should remember (that was me here) to extend/rely on schema checks to be done in afterInit() calls.
Originally reported here - https://github.com/ckeditor/ckeditor5-build-decoupled-document/issues/24.
It looks like position of some plugins in the editor's plugins array has an impact on
Indent
functionality andindentCommand.isEnabled
is alwaysfalse
.After adding
Indent
to the build and keeping this plugins order:Indent plugin won't work. But, if we put
Paragraph
beforeIndent
, it will work:The same thing occurs if
Paragraph
andHeading
plugins are loaded, but in this case, the position ofParagraph
plugin doesn't have any impact onIndent
in favour ofHeading
.Will work:
Won't work:
cc @jodator @Reinmar @mlewand
The text was updated successfully, but these errors were encountered: