-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InlineAutoformatEngine should work with commands, not attributes #2360
Comments
I'll fix this issue in order to remove the dependency from the ckeditor5-core (https://github.com/ckeditor/ckeditor5-core/issues/14#issuecomment-309447944). |
I pushed There are a couple of problems:
|
PS. To make it clear – I think that the autoformat should abort doing any changes to the content if the command is disabled. |
#1239 raises the priority of this ticket. The minimum is that autoformat should properly check the schema before doing anything. As I commented in #1239 (comment) it checks it but only when applying the attribute. It should abort earlier and not make any changes. |
A DUP https://github.com/ckeditor/ckeditor5-autoformat/issues/70 comes with a PR: ckeditor/ckeditor5-autoformat#71. |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it). |
We had to make it use attributes because of https://github.com/ckeditor/ckeditor5-undo/issues/44.
If we'll be able to resolve that issue, then we should also change the inline autoformatter so it works with commands (like the block one).
The text was updated successfully, but these errors were encountered: