From d24b189ac8b1fad1210f7f2caed7f36940084ebf Mon Sep 17 00:00:00 2001 From: Monish Deb Date: Tue, 14 Feb 2023 09:18:11 +0530 Subject: [PATCH 1/5] restore toolbar and link color, update patch for mosaico icon --- src/css/app_standalone_material.less | 4 ++-- src/js/viewmodel.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/css/app_standalone_material.less b/src/css/app_standalone_material.less index 37dd9bec0..1ebac6d5e 100644 --- a/src/css/app_standalone_material.less +++ b/src/css/app_standalone_material.less @@ -1,10 +1,10 @@ @import 'app_standalone.less'; -@accent-color: #900000; // #A01020; // #ff9800; +@accent-color: #4d5663; // #A01020; // #ff9800; @background-color: #eeeeee; // @link-color: #ff9800; // @link-color: #ff5722; // #ea1c0d; -@link-color: #ff5722; // #ea1c0d; +@link-color: #42afcb; // #ea1c0d; @font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", "Liberation Sans", Arimo, sans-serif; @standard-border-radius: 2px; diff --git a/src/js/viewmodel.js b/src/js/viewmodel.js index 5e8337c12..58887340f 100644 --- a/src/js/viewmodel.js +++ b/src/js/viewmodel.js @@ -49,7 +49,7 @@ function initializeEditor(content, blocks, thumbPathConverter, galleryUrl, conte debug: ko.observable(false), contentListeners: ko.observable(0), - logoPath: 'rs/img/mosaico32.png', + logoPath: '//mosaico.io/dist/img/mosaico32.png', logoUrl: '.', logoAlt: 'mosaico' }; From 72864866aa42d906f1c85d41b76d77ba6002f74f Mon Sep 17 00:00:00 2001 From: Deepak Srivastava Date: Tue, 1 Nov 2016 16:53:11 -0700 Subject: [PATCH 2/5] versafix-1 - Remove rigid footer that can't be removed Port from https://github.com/veda-consulting/uk.co.vedaconsulting.mosaico/commit/95df35da6f30eb48b99fe95ecb011cbc2c94fe4e --- templates/versafix-1/template-versafix-1.html | 30 ++----------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/templates/versafix-1/template-versafix-1.html b/templates/versafix-1/template-versafix-1.html index d4dd15d8d..5ae08891a 100644 --- a/templates/versafix-1/template-versafix-1.html +++ b/templates/versafix-1/template-versafix-1.html @@ -1645,30 +1645,6 @@ - - - - - - - - - - \ No newline at end of file + + + From c550b698131c835af9fb10a7767cfad58696df55 Mon Sep 17 00:00:00 2001 From: Deepak Srivastava Date: Tue, 14 Feb 2023 10:21:01 +0530 Subject: [PATCH 3/5] separate url for placeholder images with it's own permissions --- src/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/app.js b/src/js/app.js index 8b68442d7..a82b427c4 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -52,7 +52,7 @@ var applyBindingOptions = function(options, ko) { }; ko.bindingHandlers.wysiwygSrc.placeholderUrl = function(width, height, text, method) { - var imgProcessorBackend = options.imgProcessorBackend ? options.imgProcessorBackend : './upload'; + var imgProcessorBackend = options.imgPlaceholderUrl ? options.imgPlaceholderUrl : './upload'; return _appendUrlParameters(imgProcessorBackend, { method: method ? method : 'placeholder', params: width + "," + height, text: text }); }; From 062d55405ea9f5f3986c49d469d08fa731438b41 Mon Sep 17 00:00:00 2001 From: Monish Deb Date: Tue, 14 Feb 2023 11:18:43 +0530 Subject: [PATCH 4/5] versafix template adjustment --- templates/versafix-1/template-versafix-1.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/versafix-1/template-versafix-1.html b/templates/versafix-1/template-versafix-1.html index 5ae08891a..c73d1b3f9 100644 --- a/templates/versafix-1/template-versafix-1.html +++ b/templates/versafix-1/template-versafix-1.html @@ -1645,6 +1645,6 @@ - - - + + + \ No newline at end of file From ec87e4d830c93968f3da65e4e5c9effdb4ccd0cf Mon Sep 17 00:00:00 2001 From: Deepak Srivastava Date: Thu, 13 Apr 2023 17:36:16 +0100 Subject: [PATCH 5/5] disable paste_as_text as default option --- src/js/bindings/wysiwygs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/bindings/wysiwygs.js b/src/js/bindings/wysiwygs.js index 7b3527b53..65c648341 100644 --- a/src/js/bindings/wysiwygs.js +++ b/src/js/bindings/wysiwygs.js @@ -344,7 +344,7 @@ ko.bindingHandlers.wysiwyg = { // we have to disable preview_styles otherwise tinymce push inline every style he thinks will be applied and // this makes the style menu to inherit color/font-family and more. preview_styles: false, - paste_as_text: true, + paste_as_text: false, language: 'en', schema: "html5",