Open Raldian opened 6 years ago
The appearance of the tag is decided by the browser, when an order is given to the browser to change the font of the text. If the browser changes that API, SCE will automatically change. Otherwise, there will be a need for a code change to SCE to use a custom implementation
I advise to read that article: https://medium.com/content-uneditable/contenteditable-the-good-the-bad-and-the-ugly-261a38555e9c
Don't rely on browser APIs, not on the execCommand and other similar functions, those are not up-to-date with the latest specifications and you don't have any control on the added formatting...
The font tag used in SCEditor is an outdated HTML tag and should not be used anymore, is it possible to get this tag replaced with CSS instead?