componentDidMount(){
var scribeElement = this.refs.scribe.getDOMNode();
var scribe = new Scribe(scribeElement);
var toolbarElement = this.refs.toolbar.getDOMNode();
scribe.use(scribePluginToolbar(toolbarElement));
},
I'm not seeing errors and formatting with
works fine for me. But sadly no toolbar functionality :( Everything works fine outside of the iframe; however, implementing the editor inside an iframe causes most functions to stop working. As far as I can see only text formatting seems to work inside an iframe.
Can you please advise on best implementation inside an iframe.
See the changes in #290 for what is required to make Scribe work in an iframe. This caused us regression issues so a variation on the solution may be required.
Hi guys. I've run into a problem with using 'scribe-plugin-toolbar' in an iframe. Toolbar with my buttons is always disabled.
command.queryEnabled() always returns false.
I'm using reactjs + webpack FRAME is 'react-frame-component' npm package 'scribe-editor'
My render function:
Scribe initialisation:
I'm not seeing errors and formatting with
works fine for me. But sadly no toolbar functionality :( Everything works fine outside of the iframe; however, implementing the editor inside an iframe causes most functions to stop working. As far as I can see only text formatting seems to work inside an iframe.
Can you please advise on best implementation inside an iframe.
thanks in advance