ckeditor5
ckeditor5 copied to clipboard
New Feature: Simple Ruler with first line and block ident
📝 Provide a description of the new feature
Would be possible to have a ruler at the top of the editor? Several editors have this feature, so it feels natural to the users. I have found this plugin for ckeditor 4: https://ckeditor.com/cke4/addon/simple-ruler , but I did not find anything near that in ckeditor 5. I see you guys have block ident as a button (https://ckeditor.com/docs/ckeditor5/latest/api/indent.html), but I think users would feel more confortable with something they already know.
I would like to extend the simple plugin above to support block and first line indent (using text-indent), if possible. I found this other discussion (https://github.com/ckeditor/ckeditor5/issues/1217) about the text-indent, but with other ideas than mine.
Is there a guide how to migrate some plugin from ckedito 4 to 5? I looked into the code and they seem very different.
What is the expected behavior of the proposed feature?
The user should be able to control the block indent and text-indent through the ruler plugin.
If you'd like to see this feature implemented, add a 👍 reaction to this post.
Hi! Thanks for the idea.
looking forward to this feature! and is there a good way to resolve?
looking forward to this feature! and is there a good way to resolve?
added, I looked the documention of Indent plugin, it could resolve a part of question in ckeditor. there is a situation: I save the content(html to string) of editor, and then I use the content(string to html) at other place without environment of ckeditor, the class is useless, so it‘s necessary to set html style ’text-indent‘ .
Any response on this plugin request?
We are gathering interest for now, and not putting it into our current plans.
Any updates on how this is coming along? Is the idea to allow a user to set the 'text-indent' on specific text selections via a toolbar button/plugin?