Topic on VisualEditor/Feedback

Custom VE node + wikitext tag?

2
Jskurat (talkcontribs)

Hi!

I've created a custom VE node for a data structure I want to use. I also created a custom wikitext tag for the data structure. Both produce the exactly same HTML output.

But if I create the data from VE, it doesn't get translated into the wikitext when I open the simple edit menu. And when I create the data from that edit menu, it doesn't get matched in VE, therefore I can't edit it there. I've found the cause to be a wrong NodeType (at least I think so). Therfore in the switch in ve.dm.Converter.getDataFromDomSubtree it get's handled wrong.

Is there anything I can do so that if I create the data in VE it get's interpreted in wikitext and vice versa?

Thanks!

This post was hidden by Jskurat (history)
Reply to "Custom VE node + wikitext tag?"