neanes / neanes

Neanes is a free and open source scorewriter for notating Byzantine chant in Byzantine notation.
https://neanes.github.io/neanes/
GNU General Public License v3.0
42 stars 12 forks source link

Tab Space in Rich Text Boxes #725

Open PeTH2 opened 1 month ago

PeTH2 commented 1 month ago

When copying from a book, i realized that there was no way to indent the first line of a paragraph with tab space.

Would it be possible to add a way to input tab space in rich text boxes?

danielgarthur commented 1 month ago

It would be possible to allow users to configure a number of spaces to enter when tab is pressed. This is not the same as true tab stops that can be configured to an arbitrary length instead of only to a multiple of the size of the space character. But it's better than nothing.

A more complicated way would be to investigate creating a CKEditor5 plugin that adds text-indent, but this is not an easy task. See https://github.com/ckeditor/ckeditor5/issues/1217 where people are discussing it.