mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
Reduce JavaScript footprint
This commit is contained in:
parent
fea65b7ebf
commit
cc03546484
12 changed files with 811 additions and 942 deletions
|
|
@ -16,7 +16,7 @@ export function encodeHtml(text) {
|
|||
return (text && text.toString ? text.toString() : ''+text).replace(htmlre, m => htmlmap[m]);
|
||||
}
|
||||
|
||||
class HtmlEditor {
|
||||
export class HtmlEditor {
|
||||
/**
|
||||
* @param {Object} element
|
||||
* @param {Function=} onBlur
|
||||
|
|
@ -206,5 +206,3 @@ class HtmlEditor {
|
|||
this.setHtml('');
|
||||
}
|
||||
}
|
||||
|
||||
export { HtmlEditor, HtmlEditor as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue