lite-editor icon indicating copy to clipboard operation
lite-editor copied to clipboard

Documentation Methods 404 Error

Open iocron opened this issue 6 years ago • 4 comments

The Docs https://appleple.github.io/lite-editor/methods.html end up on a 404 Error Page.

iocron avatar Jul 04 '18 13:07 iocron

Hi @iocron Thank you I'll prepare the page soon and let you know :)

steelydylan avatar Jul 06 '18 01:07 steelydylan

@steelydylan Thank you 👍 :)

iocron avatar Jul 09 '18 17:07 iocron

Hi @iocron I just added the methods page https://appleple.github.io/lite-editor/methods.html

steelydylan avatar Jul 10 '18 01:07 steelydylan

Hi @steelydylan, methods is not working, or am i doing anything wrong? Like:

const editor = new LiteEditor('#print_imposition_text', { nl2br: true }); editor.insertHtml("<b>test</b>");

themarslabs avatar Sep 08 '22 14:09 themarslabs

Hi @themarslabs Sorry for the delay in replying.

The insertHtml function replaces the selected area, so after instantiating lite-editor, there is no selection and an error will occur. Please try it. Thank you in advance.

1000-x-t30 avatar Sep 22 '23 02:09 1000-x-t30

close

1000-x-t30 avatar Sep 22 '23 02:09 1000-x-t30