rugk / unicodify

✍️ A browser add-on (Firefox, Chrome, Thunderbird) that allows you to autocorrect common text sequences and convert text characters to a look like a special font.
https://addons.mozilla.org/firefox/addon/unicodify-text-transformer/?utm_source=github.com&utm_medium=git&utm_content=repo-about-description&utm_campaign=github
Other
11 stars 2 forks source link

Enable/disable individual autocorrections/symbols or font styles #30

Open rugk opened 3 years ago

rugk commented 3 years ago

Background

I guess I already mentioned it somewhere, where we’ve introduced groups, that a “left/right selection” or so woudl be useful, so let’s track that here. Possibly it could also be used for re-ordering in the future…

The problems could be:

For symbols:

For

Proposed solution

Two lists side-by-side, where you’d select one element and change the state from disabled to enabled by switching it to the other list. (I have no idea how that is called…)

Alternatives

Additional context

Maybe one could also add your own symbols at least in the future, similarly to how word processing editors do it (Word or LibreOffice), they have such an autocorrection dialog.

But this are just ideas, nothing I’d immediately do. Just collecting some ideas and upvotes here.

tdulcet commented 3 years ago

Two lists side-by-side, where you’d select one element and change the state from disabled to enabled by switching it to the other list.

I do not think this would be that difficult to implement. Here and here are a couple of examples of what I believe you are describing (they both are using JQuery, but that should be easy to remove). Your AutomaticSettings library would then only need to store the disabled list, which would require similar changes to those needed for https://github.com/TinyWebEx/AutomaticSettings/issues/15.

Maybe one could also add your own symbols at least in the future, similarly to how word processing editors do it (Word or LibreOffice), they have such an autocorrection dialog.

For reference, here are those dialogs. LibraOffice Writer: image

Microsoft Word: image

amourchaleur commented 3 years ago

Would it be possible for auto superscript or subscript for text such as 10th or 1st (in thunderbird)?

tdulcet commented 3 years ago

Would it be possible for auto superscript or subscript for text such as 10th or 1st (in thunderbird)?

Yes, that would certainly be possible, at least for superscript. Please feel free to create a new issue for the feature request.

amourchaleur commented 3 years ago

Just created the new feature request. Thanks for considering!