进行了一些小修复
This commit is contained in:
@@ -65,6 +65,9 @@ test('front submit image and visibility actions live in the TinyMCE toolbar', ()
|
||||
assert.match(editor, /type:\s*'menubutton'/);
|
||||
assert.match(editor, /data-editor-media-tab="upload"/);
|
||||
assert.match(editor, /data-editor-media-tab="external"/);
|
||||
assert.match(editor, /class="aksrt-editor-media__dialog" tabindex="-1"/);
|
||||
assert.match(editor, /querySelector\('\.aksrt-editor-media__dialog'\)/);
|
||||
assert.doesNotMatch(editor, /focusTarget\s*=\s*root\.querySelector\('\[data-editor-media-tab\]\.is-active'\)/);
|
||||
assert.match(editor, /\(cfg\.uploads \|\| \{\}\)\.image/);
|
||||
assert.match(page, /'canUploadImage'\s*=>\s*!empty\(\$ctx\['can_upload_img'\]\)/);
|
||||
assert.doesNotMatch(main, /newposts-editor-tools|data-insert-shortcode|data-insert-upload-image/);
|
||||
|
||||
Reference in New Issue
Block a user