Go to file
C. Scott Ananian 7e444d6364 All extensions implement Extension; tags all implement ExtensionTag
Restructure ExtensionTag as an abstract class with default do-nothing
implementations of all methods.  So instead of Translate and LST
not implementing ExtensionTag::toDOM, they inherit the default
implementation which returns false, and that has the same effect.

The intention is to move SerialHandler::fromHTML and SerialHandler::before
into this framework as well.  Every "optional" method should have a default
implementation in the base class which returns false.

Change-Id: I0ad5c714601c0cf0b5189d4d282c67c6b53fc760
2019-07-11 18:46:14 +00:00
lib/ext/Cite Gallery: shift TSRs in the DOM, rather than fibbing about srcOffset 2019-06-28 14:10:16 +00:00
src/Parsoid All extensions implement Extension; tags all implement ExtensionTag 2019-07-11 18:46:14 +00:00