Implement Toolbar

This commit is contained in:
gsb
2026-04-29 07:11:31 +00:00
parent 98719ec8cd
commit 1f523cbc0f
8 changed files with 694 additions and 122 deletions
-11
View File
@@ -199,17 +199,6 @@ describe('ThemeManager', () => {
});
});
describe('RibbitPlugin', () => {
it('has defaults', () => {
resetDOM();
const viewer = new r.Viewer({});
const plugin = new r.Plugin({ name: 'test', wiki: viewer });
expect(plugin.name).toBe('test');
expect(plugin.precedence).toBe(50);
expect(plugin.toMarkdown('<b>x</b>')).toBe('<b>x</b>');
expect(plugin.toHTML('**x**')).toBe('**x**');
});
});
describe('defaultTheme', () => {
it('has correct shape', () => {