fleather icon indicating copy to clipboard operation
fleather copied to clipboard

How can we add Super script and Sub script features for the editor?

Open Chandu-bs opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. As text rich editor features include sub script and super script too, How can we customize it? Describe the solution you'd like Any idea for customization or plans for adding it in future release Describe alternatives you've considered Can I know how to customize the feature

Chandu-bs avatar Feb 09 '24 08:02 Chandu-bs

Any inputs so that I could try and work it out? @amantoux @Amir-P

Chandu-bs avatar Feb 21 '24 07:02 Chandu-bs

Thanks for bringing this to our attention. We will consider implementing it but feel free to contribute if you want. You can start by looking at how styles like bold is defined in Parchment and how the text is styled according to each attribute in Fleather (src/widgets/text_line.dart). @Chandu-bs

Amir-P avatar Feb 24 '24 09:02 Amir-P

I tried but got no where, any get aways to understand it more better? @Amir-P , and if it is in developing stage, when can we expect this feature?

Chandu-bs avatar Mar 04 '24 15:03 Chandu-bs

Could you please check and test https://github.com/fleather-editor/fleather/pull/291? @Chandu-bs

Amir-P avatar Mar 04 '24 19:03 Amir-P