Closed blocknotes closed 6 years ago
Hi @blocknotes,
You need to add a tag to the list of tags recognised tags for say the Text element in ContentEdit, e.g:
ContentEdit.TagNames.get().register(ContentEdit.Text, 'a-test')
Works. Thank you @anthonyjb
First: I like ContentTools very much, thank you for this nice component :)
I want to create a button that inserts a "a-test" tag, output example:
<a-test>Just a test</a-test>
Problem: my new tool works but the initial content with the "a-test" tag is not editable / ignored / not recognized (in the DOM the classes set are "ce-element ce-element--type-static"...). Is there a whitelist of tags somewhere?