https://bugzilla.wikimedia.org/show_bug.cgi?id=49784

--- Comment #5 from Krinkle <[email protected]> ---
Parsoid says they now have a public wt2html API that we can use instead of
action=parse. That would at least allow use to let Parsoid determine whether it
is inline or block (instead of sniffing the html result, though that's fairly
trivial, just <span> vs. everything else, right? Maybe a few other inline
elements nodes that we use, or do we wrap them all?)

However we still need to then find a way to swap the data model node instance
in that case. Having 1 datamodel type would be nice indeed. We could make it
similar to extension tags in that templates have their own class, but it
wouldn't be specific to an element type, we can still swap it dynamically (just
like we can change lists from UL to OL).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to