Is it possible remove data-block-id for HTML output? #121
-
|
Hi! Firstly thanks for awesome package! Here is one question: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Hey @mrFANRA, glad you like notectl! Quick context before I add an option: Can you tell me a bit more about your use case? Why do you want it removed and what are you trying to do with the HTML? That helps me figure out the right shape for the API. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Hi! Thank for you reply. Im used it for small template-parts of travel offers. For example: and etc... This templates written by users, server before save validate it for allowed tags, and verify attributes. Im added to rules Or may be save it as JSon format better ... |
Beta Was this translation helpful? Give feedback.
-
|
@mrFANRA API Documentation https://samyssmile.github.io/notectl/api/editor/#clean-html-output-includeblockids |
Beta Was this translation helpful? Give feedback.
@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