Page 1 of 1

Is extra (css) code in the wysiwyg editor (modules) cleaned out?

Posted: Mon Oct 08, 2018 8:13 pm
by godly75
I tried to add extra css into the editor but seems that's it's rejected all the time, normal html is no prob.
Is extra (css) code in the wysiwyg editor (modules) cleaned out?
Is there a limitation on the editor that wasn't on version 2?

Re: Is extra (css) code in the wysiwyg editor (modules) cleaned out?

Posted: Mon Oct 08, 2018 9:46 pm
by straightlight
Duplicated topic: viewtopic.php?f=199&t=207450 . Twisted words.

Re: Is extra (css) code in the wysiwyg editor (modules) cleaned out?

Posted: Mon Oct 08, 2018 10:01 pm
by godly75
Thx,
sorry for the confusion and many question :) I'm still learning.
I removed the other topic, because this night I reinstalled the shop completely from scratch and manually copied the sql tables :)
All works well now, I'm very happy, all problems vanished I think ;-)
except the internal editor doesn't allow me to add the extra css or scripts (like gdpr consent) or stats ) which I use in modules.
Any idea how to get that fixed?

Re: Is extra (css) code in the wysiwyg editor (modules) cleaned out?

Posted: Mon Oct 08, 2018 10:10 pm
by godly75
Another thing that isn't working: the coupons are not retracted from the totals
Image
And sometimes I cannot add a product to the cart. Dunno why (with options selected)
http://encounters.be/shop/index.php?rou ... uct_id=221

Re: Is extra (css) code in the wysiwyg editor (modules) cleaned out?

Posted: Mon Oct 08, 2018 10:15 pm
by godly75
Hm, after installing VQmod, the editor is gone again :-/
https://i.imgur.com/XC1Q38U.jpg

Same error again
summernote.js:4053 Uncaught TypeError: Cannot read property 'style' of undefined
at summernote.js:4053
at Array.reduce (<anonymous>)
at Object.style (summernote.js:4052)
at Renderer.createLayoutByFrame (summernote.js:4683)
at Renderer.createLayout (summernote.js:4741)
at HTMLTextAreaElement.<anonymous> (summernote.js:4818)
at Function.each (jquery-2.1.1.min.js:2)
at n.fn.init.each (jquery-2.1.1.min.js:2)
at n.fn.init.summernote (summernote.js:4814)
at HTMLTextAreaElement.<anonymous> (opencart.js:10)

Re: Is extra (css) code in the wysiwyg editor (modules) cleaned out?

Posted: Mon Oct 08, 2018 10:15 pm
by straightlight
Off topic. Please create a new topic for each reported issues. CSS and adding products to cart are not related to the same issue.

Re: Is extra (css) code in the wysiwyg editor (modules) cleaned out?

Posted: Mon Oct 08, 2018 10:16 pm
by godly75
ok sorry