Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Methods 404 Error #32

Closed
iocron opened this issue Jul 4, 2018 · 6 comments
Closed

Documentation Methods 404 Error #32

iocron opened this issue Jul 4, 2018 · 6 comments
Assignees

Comments

@iocron
Copy link

iocron commented Jul 4, 2018

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

@steelydylan
Copy link
Contributor

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

@iocron
Copy link
Author

iocron commented Jul 9, 2018

@steelydylan Thank you 👍 :)

@steelydylan
Copy link
Contributor

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

@themarslabs
Copy link

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>");

@1000-x-t30 1000-x-t30 self-assigned this Sep 22, 2023
@1000-x-t30
Copy link

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
Copy link

close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants