ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

New Feature: Simple Ruler with first line and block ident

Open antoniolucasnobar opened this issue 4 years ago • 6 comments

📝 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.

antoniolucasnobar avatar Sep 15 '20 15:09 antoniolucasnobar

Hi! Thanks for the idea.

Reinmar avatar Sep 21 '20 08:09 Reinmar

looking forward to this feature! and is there a good way to resolve?

huangxok avatar Oct 26 '20 04:10 huangxok

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‘ .

huangxok avatar Oct 26 '20 05:10 huangxok

Any response on this plugin request?

jairo-ab avatar Jun 06 '23 21:06 jairo-ab

We are gathering interest for now, and not putting it into our current plans.

Witoso avatar Jun 07 '23 06:06 Witoso

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?

spacelist-ca avatar Feb 22 '24 06:02 spacelist-ca