Results 6 comments of Thomas Gladdines

Here's a gist I've been using to share an internal ref while also using it internally: https://gist.github.com/pie6k/b4717f392d773a71f67e110b42927fea

I've created a library to resolve this: [react2angular-shared-context](https://www.npmjs.com/package/react2angular-shared-context) It uses portals as suggested above but is not dependant on how react2angular works. It also handles props changes from angular and...

I've run in the same problem, currently using the following workaround on keydown: ```js const fixBr = (e, editor) => { if (editor.html.get() === '' && ( (editor.selection.get().anchorOffset === 1...

Small update for anyone who also runs into the issue with e.g. `` tags: ```tsx const fixBr = (e, editor) => { if (( (editor.selection.get().anchorOffset === 1 && e.key ===...

Never found a proper solution for this issue, the above workaround didn't work reliable enough. Currently we're using the default paragraph `` option and convert them to line breaks ``...

Only the button has been implemented, not the functionality behind it. Haven't yet had time to implement it :'(