Tests: Use CE HTML helpers

Depends-On: I2ac2ecd6937e936f877fc3fb17feaa4d3610ee50
Change-Id: If3790fc7449ea2f7bbf56783f590fcb8d9126cb8
This commit is contained in:
Ed Sanders 2024-01-25 11:10:43 +00:00 committed by Jforrester
parent 4e94b88f99
commit 3ca82f8d57

View file

@ -820,8 +820,8 @@ ve.dm.mwExample.domToDataCases = {
{ type: '/internalList' }
],
ceHtml: ve.dm.example.singleLine`
<p class="ve-ce-branchNode ve-ce-contentBranchNode ve-ce-paragraphNode">
<span class="ve-ce-branchNode-slug ve-ce-branchNode-inlineSlug"></span>
${ ve.dm.example.ceParagraph }
${ ve.dm.example.inlineSlug }
<a class="mw-file-description ve-ce-leafNode ve-ce-focusableNode ve-ce-mwInlineImageNode" contenteditable="false" href="${ new URL( './File:Wiki.png', ve.dm.mwExample.baseUri ) }">
<img src="http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png" class="mw-file-element" width="135" height="155" style="vertical-align: text-top;">
</a>
@ -841,8 +841,8 @@ ve.dm.mwExample.domToDataCases = {
{ type: '/internalList' }
],
ceHtml: ve.dm.example.singleLine`
<p class="ve-ce-branchNode ve-ce-contentBranchNode ve-ce-paragraphNode">
<span class="ve-ce-branchNode-slug ve-ce-branchNode-inlineSlug"></span>
${ ve.dm.example.ceParagraph }
${ ve.dm.example.inlineSlug }
<a class="mw-file-description ve-ce-leafNode ve-ce-focusableNode ve-ce-mwInlineImageNode" contenteditable="false" href="${ new URL( './File:Wiki.png', ve.dm.mwExample.baseUri ) }">
<img src="http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png" class="mw-file-element" width="135" height="155" style="vertical-align: text-top;">
</a>