Hey, I'm currently maintaining an iOS version of this rich editor. While writing #262, I noticed that the document.execCommand is deprecated. Are there any plans to migrate rich_editor.js to more customized commands here?
It seems like the only things we can do is to set the style of elements ourselves. For example, justifyLeft is el.style.textAlign = "left". But I'm not sure how compatible that is for each of our browsers (mobile chrome and safari). Any other blockers you can think of?
Side note: I think lots of the JS could use the ES6 arrow functions () => {} and let instead of var.
Hey, I'm currently maintaining an iOS version of this rich editor. While writing #262, I noticed that the document.execCommand is deprecated. Are there any plans to migrate
rich_editor.js
to more customized commands here?It seems like the only things we can do is to set the style of elements ourselves. For example, justifyLeft is
el.style.textAlign = "left"
. But I'm not sure how compatible that is for each of our browsers (mobile chrome and safari). Any other blockers you can think of?Side note: I think lots of the JS could use the ES6 arrow functions
() => {}
andlet
instead ofvar
.