diff --git a/client/src/Helpers.js b/client/src/Helpers.js index 0b22d71..2e45431 100644 --- a/client/src/Helpers.js +++ b/client/src/Helpers.js @@ -53,7 +53,7 @@ helpers.timeAgo = (time) => { if (typeof format[2] == 'string') { return format[list_choice] } else { - return Math.floor(seconds / format[2]) + ' ' + format[1]// + ' ' + token + return Math.floor(seconds / format[2]) + ' ' + format[1] + ' ' + token } } } diff --git a/client/src/assets/semantic-helper.css b/client/src/assets/semantic-helper.css index 8d8a050..37b5c88 100644 --- a/client/src/assets/semantic-helper.css +++ b/client/src/assets/semantic-helper.css @@ -43,7 +43,7 @@ html { height:100%; padding: 0; margin: 0; - background: none; + background: var(--body_bg_color); } a:hover { text-decoration: underline; diff --git a/client/src/assets/squire.js b/client/src/assets/squire.js index 29529ae..c5c8f82 100644 --- a/client/src/assets/squire.js +++ b/client/src/assets/squire.js @@ -2117,7 +2117,7 @@ var cleanTree = function cleanTree ( node, config, preserveWS ) { break; } } - data = data.replace( /^[ \t\r\n]+/g, sibling ? ' ' : '' ); + data = data.replace( /^[ \r\n]+/g, sibling ? ' ' : '' ); } if ( endsWithWS ) { walker.currentNode = child; @@ -2132,7 +2132,7 @@ var cleanTree = function cleanTree ( node, config, preserveWS ) { break; } } - data = data.replace( /[ \t\r\n]+$/g, sibling ? ' ' : '' ); + data = data.replace( /[ \r\n]+$/g, sibling ? ' ' : '' ); } if ( data ) { child.data = data; @@ -2693,7 +2693,8 @@ var sanitizeToDOMFragment = function ( html, isPaste, self ) { ALLOW_UNKNOWN_PROTOCOLS: true, WHOLE_DOCUMENT: false, RETURN_DOM: true, - RETURN_DOM_FRAGMENT: true + RETURN_DOM_FRAGMENT: true, + FORCE_BODY: false }) : null; return frag ? doc.importNode( frag, true ) : doc.createDocumentFragment(); }; @@ -5011,4 +5012,4 @@ if ( typeof exports === 'object' ) { } } -}( document ) ); \ No newline at end of file +}( document ) ); diff --git a/client/src/components/ColorPicker.vue b/client/src/components/ColorPicker.vue index c6aef64..612af09 100644 --- a/client/src/components/ColorPicker.vue +++ b/client/src/components/ColorPicker.vue @@ -1,54 +1,59 @@