Page MenuHomePhabricator

Audit extension interface for Parsoid extensions to make sure we aren't exposing internals of parsing pipeline
Closed, DuplicatePublic

Description

Our extensions are only using functionality exposed via extapi.js, but we need to audit our helper code to make sure that we aren't exposing functionality specific to Parsoid internals. For example, we are exposing stuff like dom-fragments, details about processing pipeline (pipeline types, callbacks, async vs sync, setting data-mw & data-parsoid on dom-fragments, etc.) some of which could perhaps be hidden via a suitable interface expose by extapi.js.