h5p ckeditor more tags
I would like to add more tags to the h5peditor's ckeditor and among them "code snippet" .
I understand I can alter a library's semantics through h5p.api.php or directly add more tags to semantics.json .
Is that correct ?
If I do it that way can I add any tag I want or am I limited by h5peditor-html.js ?
And if i am limited by h5peditor-html.js can I just add something like this ?
if (this.inTags("pre")) inserts.push("CodeSnippet");