[Question] Set selected by element or id (not model)
Question
Is it possible to set selected content in editor by passing an element or element id instead passing a model?
Answers (1)
const selector = '#itvmm';
editor.select(editor.DomComponents.getWrapper().find(selector)[0]);
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2762
[QUESTION] How to listen to trait value change directly from block add
I'm passing following JSON to editor.BlockManager.add() function to define my block, load it's content from the server and populate select-...
Issue #2937
Question: RTE in Modal
Hello, I'm trying to get TinyMCE to work as an editor in a modal instead of inline. I am able to get the selected components html with targ...
Issue #2922
[QUESTION]: Get all css without specific component and it's children
Hi, so, in this issue #2861 we can get all the css of a selected element and it's children with: But if I want to get all the css but witho...
Issue #921
[QUESTION] Select and focus an html element from a panel button
Hi everyone, Is it possible to set focus in a section html with Grapes, like as an anchor? I have a panel button and it just select the sec...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.