1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Editor.js insert block at cursor position

Discussão em 'Angular' iniciado por mavilla vishnu vardhan, Setembro 14, 2024.

  1. I'm creating an Angular application that uses Editor.js for adding some math equations. How can I add block at cursor position from a dialog?

    I'm using insert method to insert a block:

    this.editor?.blocks.insert('paragraph', { text: result.content }, {},
    this.editor.blocks.getBlocksCount(), true, false);

    Continue reading...

Compartilhe esta Página