Skip to content
Discussion options

You must be logged in to vote

@mrFANRA
This is implemented now in 2.2.0 (will be next release) you can test ist localy.

API Documentation

https://samyssmile.github.io/notectl/api/editor/#clean-html-output-includeblockids

const clean = await editor.getContentHTML({ includeBlockIds: false });
// '<p>Hello</p><p>World</p>'  — no data-block-id

// Works in class mode too
const { html } = await editor.getContentHTML({ cssMode: 'classes', includeBlockIds: false });

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Samyssmile
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mrFANRA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants