5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-26 17:06:07 +00:00

sup y sub; falta strings

This commit is contained in:
void 2020-11-18 22:55:33 -03:00
parent cf93710b33
commit 89ad451524
2 changed files with 10 additions and 0 deletions

View file

@ -27,6 +27,14 @@ const marks = {
selector: "u",
createFn: () => document.createElement("U"),
},
sub: {
selector: "sub",
createFn: () => document.createElement("SUB"),
},
sup: {
selector: "sup",
createFn: () => document.createElement("SUP"),
},
mark: {
selector: "mark",
createFn: () => document.createElement("MARK"),

View file

@ -14,6 +14,8 @@
%button.btn{ data: { button: 'italic' } }= t('editor.italic')
%button.btn{ data: { button: 'deleted' } }= t('editor.deleted')
%button.btn{ data: { button: 'underline' } }= t('editor.underline')
%button.btn{ data: { button: 'sup' } }= t('editor.sup')
%button.btn{ data: { button: 'sub' } }= t('editor.sub')
%button.btn{ data: { button: 'mark' } }= t('editor.mark')
%button.btn{ data: { button: 'h1' } }= t('editor.h1')
%button.btn{ data: { button: 'h2' } }= t('editor.h2')