setContents on an inline editor shows the toolbar
See original GitHub issueHi, I can’t be certain which version this started in but when I call setContents on an inline editor it makes the toolbar show, is this behaviour expected?
I am using a toolbarContainer
to show the toolbar above the title of the document in my app and the toolbar now hides the title on opening any existing document.
I have started manually calling toolbar.hide() to get around this but wanted to raise it as an issue.
This can easily be replicated by setting the mode of the ss
editor to inline
in suneditor_build_test.js
Great work on this editor btw, we love it!!
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
setContents on an inline editor shows the toolbar #686 - GitHub
I am using a toolbarContainer to show the toolbar above the title of the document in my app and the toolbar now hides...
Read more >call setContents for Quill works but then cause an error
It works and specific text shows in the editor but after then it cause a problem. Unhandled exception rendering component: An exception occurred ......
Read more >TinyMCE 6.3
Selecting a language from the Advanced Typography toolbar ... New option to display the Advanced Code Editor inline instead of in a dialog....
Read more >API - Quill Rich Text Editor
Quill is a free, open source WYSIWYG editor built for the modern web. Completely customize it for any need with its modular architecture...
Read more >Integrating inline tinymce editor in a component for a ...
... classic editor block) demonstrates the way how to integrate a tinyMce editor. ... class: 'geom-inline-editor-toolbar freeform-toolbar', ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In my setup (and when I run the test locally) calling setContents automatically sets the focus, this is undesired.
You are correct however, this does not happen in the example page, I will try to recreate from a simple instance and get back to you, thanks for looking at this so quickly again!
Thank you so much JiHong, it works 😃