Ckeditor5: CK Editor 5 - React : Append Image node to current cursor position

Created on 8 May 2019  路  2Comments  路  Source: ckeditor/ckeditor5

Is this a bug report or feature request? (choose one)

Other

馃捇 Version of CKEditor

5

馃搩 Other details that might be useful

I want to append into current cursor position of my CKEditor component.
current cursor position can get using following
const insertPosition = editor.model.document.selection.getFirstPosition();

I referred following doc, but couldn't find good example code for this
https://ckeditor.com/docs/ckeditor5/latest/api/module_engine_model_utils_insertcontent.html

question

All 2 comments

Hello, please take a look at our example in creating a simple plugin guide. Does it solve your problem?

Thank you . Its helpful

Was this page helpful?
0 / 5 - 0 ratings

Related issues

devaptas picture devaptas  路  3Comments

Reinmar picture Reinmar  路  3Comments

msamsel picture msamsel  路  3Comments

benjismith picture benjismith  路  3Comments

MansoorJafari picture MansoorJafari  路  3Comments