浏览CKEditor 5中的不同部分

时间:2018-06-06 06:49:34

标签: ckeditor ckeditor5

我希望在点击particular key时将光标移动到特定的段落/部分。

如何在CKEditor 5中实现这一目标

editor.editing.view.document.on( 'keydown', ( evt, data ) => {

   if ( data.keyCode == 39 ) {
    //move cursor to next paragraph or element  with some specific id
   }
 } );

0 个答案:

没有答案