-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Special Characters feature #1110
Add Special Characters feature #1110
Comments
Thanks for reporting. It'd be great to have this feature. BTW, it's a fairly simple feature to be implemented. Apart from the UI, it just requires calling |
Has there been any update on when this might be supported? |
I'm afraid that this feature isn't on our pipeline yet. But we'd be glad seeing the community trying to implement it. |
I am referring to the toolbar Omega icon that was in version 4 that allowed for selecting the special character from the pop-up. |
Related thread: inserting non-breaking spaces: #1669. With a code sample how to bind Alt+space to inserting an nbsp: #1669 (comment). May be useful if someone wants to write their own "special char" plugin. |
This is how the feature looks in CKEditor 4: In CKEditor 5 we could use the same dropdown mechanism which is used for displaying font/background colors: Each square could have a special character. After clicking on it, the character will be inserted to the editor (is It would be good to use panes here. In the first one, we could keep special characters, in the second one – emoji. I am not sure whether it is possible. My question is – what are special characters? Should we include Also, the Special Characters plugin will provide a list of special characters. How would like we to give a user the ability to extend the list? Should we allow defining all items by the user (as an array |
Yes - we're using this in text transformations and AFAIR it's a preffered way.
I had the same doubts when looking at CKE4 but it might be that what's standard in western languages might not be in other languages (Arabic, Chinese, ?) - but I'm not 100% sure on this. |
We don't have this kind of component yet (namely: tabs) but probably we'll expect something similar to the native MacOS selector The implementation should be fairly simple. As for categories, both MS Word and other WYSIWIG editor on the market use similar categories like "arrows", "mathematical", "punctuation". This is a good place to start because people will a UX they're familiar with. A sane set of defaults (a couple of categories with entries) and a possibility to configure your own should do the trick. P.S. This could be also the right place to provide the emoji feature. |
I created a simple mockup (food for thought before the f2f talk) of what it could look like: Here's a list of random thoughts that came to my mind designing it:
|
Notes from the yesterday's meeting. MVP
Future
|
Hey everyone, during the testing phase we decided that we need to polish our special character plugin a little bit before releasing. So it means that improved version will be released in iteration 29th. Sorry for the delay, but we hope it will be worth it! |
TODO:
|
Feature: Introduced the special characters plugin. See ckeditor/ckeditor5#1110.
Reopening because there are still things TODO (#1110 (comment)). |
There is no point in keeping a command that executes another command. Let's remove it. Also, the editing part of the feature could be removed because it only adds the command. I will remove it as well. |
I wrapped all Unicode names in the |
I don't know if the Edit: I don't know if that file is mentioned somewhere in our internal docs 🤔 |
@ma2ciek, I didn't mention about the file because it's obvious for us. We remember about it :D |
Internal: Simplified the code. Removed a command, added translations, and the documentation. Closes ckeditor/ckeditor5#1110. Closes ckeditor/ckeditor5#5879.
🆕 Feature request
can you please add SpecialChars feature.
University of Queensland uses CKEditor 4 for Thesis Submission form and which requires special characters scientific papers. It would be great to migrate to CKEditor 5.
Thanks!
PS: Emojis are not required, but I'm sure people will love 'em too!
Add 👍reaction to this post if you want this feature to be implemented.
The text was updated successfully, but these errors were encountered: