Issue #1147Opened May 30, 2018by JulyanoF6 reactions

[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)

artfMay 31, 20186 reactions
const selector = '#itvmm';
editor.select(editor.DomComponents.getWrapper().find(selector)[0]);

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.