1

我想在单击时将光标移动到特定的段落/部分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
   }
 } );
4

0 回答 0