Thanks very much for the reply Ed.
On Wed, Jun 3, 2020 at 3:10 PM Ed Sanders <esanders(a)wikimedia.org> wrote:
I've filed
https://phabricator.wikimedia.org/T254354 to track the updating
issue.
On Wed, 3 Jun 2020 at 15:04, Ed Sanders <esanders(a)wikimedia.org> wrote:
ve.dm.Document contains a cache of nodes by type
which you can access
with
ve.dm.Document.prototype.getNodesByType:
ve.init.target.surface.model.documentModel.getNodesByType( 'mwHeading',
true );
This appears to work for the initial document, but may be broken with
regards to newly added nodes.
On Tue, 26 May 2020 at 10:43, Egbe Eugene <agboreugene(a)gmail.com> wrote:
> Hi All,
>
> I am using the VE model in a Gadget and I am wondering how can I get the
> headings which have been entered on the VE surface for further
processing
Thanks
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l