Michael Weiss
Michael Weiss
It would be nice to have access directly in the browser package, `navigator.platform` and `navigator.userAgent` without having to pass it on initialization on the js side (as mentioned here: https://stackoverflow.com/questions/40616946/how-to-detect-browser-in-elm)....
Currently, there's no way of handling the selection API directly Elm. The way I've worked around this was by creating a webcomponent to track the current selection state, and using...
Some clipboard functions require synchronous access to methods, like on the `copy` event using `clipboardData.setData` or the `paste` event and `clipboardData.getData`. If I handle the `copy` event in Elm and...
Currently, the toolkit does not scale up for larger documents. On my MacBook, I started to notice lag for some commands on a documents with around 2500 nodes. It would...
Platform: iOS12 Safari If you select the editor by tapping text, the caret sometimes doesn't appear on iOS. However, the keyboard is still available and text can be updated. I...
See: https://discourse.elm-lang.org/t/a-toolkit-to-create-rich-text-editors-in-elm/5464/5?u=mweiss I think the most general way of doing this would be to have custom validation expressions in `RichText.Model.ElementDefinition` that would take in a node and return a list...
Right now, there's no real effective way for a developer to react efficiently to state changes in the editor. It would be nice to have a way of adding extra...
A really useful feature to have would be input rules similar to ProseMirror: https://prosemirror.net/docs/ref/#inputrules This would need to be designed and implemented to fit the toolkit's architecture.
Currently, if you try to copy an inline of block leaf without selecting it as part of a range selection, it will not update the text/html clipboard data. This is...
Environment: Win 10 (MS Edge) VM On my windows 10 legacy VM, I had trouble sometimes selecting a range within the editor. I think this may be due to calling...