Steve S
Steve S
I'm working around it by putting the following in scope. ``` def if2(cond: Boolean)(frag: Frag) = if(cond) frag else stringFrag("") ```
Add those lines to plugins.sbt
For Slate 0.42.2 + Slate React 0.19.3 ``` onSelect(event, change, next){ var range = SlateReact.findRange(window.getSelection(), change.editor); if (!range) return; var focus = range.focus; var document = change.editor.value.document; var focusText =...