进行了一些小修复

This commit is contained in:
2026-08-26 18:06:44 +08:00
parent fb2bbb64c5
commit 7c0c21e984
7 changed files with 19 additions and 16 deletions
@@ -87,6 +87,7 @@ test('front submit exposes the complete reference media and formatting toolset',
assert.match(editor, new RegExp(`addButton\\(['"]${button}['"]`));
});
assert.doesNotMatch(main, /array_merge\(\$toolbar1, \['blockquote'/);
assert.match(main, /\['aksrt_quote', 'aksrt_precode', 'fullscreen', 'wp_adv'\]/);
assert.match(main, /toolbar2[\s\S]*forecolor/);
assert.match(main, /colorpicker,textcolor/);
@@ -110,6 +111,7 @@ test('front submit exposes the complete reference media and formatting toolset',
assert.match(editor, /qe_wzk_lan/);
assert.match(editor, /qe_wzk_lv/);
assert.match(editorCss, /\.quote_q/);
assert.match(editorCss, /\.quote_q \[contenteditable="true"\][\s\S]*?box-shadow:\s*none/);
assert.match(editorCss, /\.file-download-box/);
assert.match(editorCss, /\.enlighter-pre/);
assert.doesNotMatch(editor, /shop|forum|bbs_/i);