Show rte editor
Actually, enableEditing method was removed and replaced with onActive, but to avoid any future change I'd recommend using this editor.getSelected().trigger('active')
Read full answer below ↓Question
I want to ask, why when I want to display the rte editor with "editor.getSelected (). view.enableEditing ()" but there is an error "editor.getSelected (...). view.enable Edit is not a function", Thanks
Answers (1)
Actually, enableEditing method was removed and replaced with onActive, but to avoid any future change I'd recommend using this editor.getSelected().trigger('active')
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1927
[QUESTIONS] Sender.set('active') error Maximum call stack size exceeded
I have a button with the show-left command, I want to make when the button is clicked a second time (or more) remains active, but when runn...
Issue #371
Enable the default RTE with a custom function
Do my API call correctly, want to add a RTE with custom function to add a link/open new windows/open modal: Command work for fontSize but t...
Issue #698
editor.getSelected().toHTML() is not consistent
Hi everyone, I created a new component type, 'html-block', which is a component in which you can add your html code. I added an 'Edit' butt...
Issue #3146
There are so many clicks required to enable RTE can i edit text with just single click
There are so many clicks required to enable RTE can i edit text with just single click i tried by adding attribute contenteditable but stor...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.