I'm trying to build a new page in my onlineshop and it should look like this:
Can you help me where I can add the css styles?
I was trying to add them in the XMl section but this was not working
TinyMCE disabled the ability to add them outside of the tags, so <style> tags are not valid XHTML, For this you will have to add style tags to the valid children configuration:
valid_children : "+body[style]"
So for Magento, you need to replace the code in lib/web/tiny_mce_4/tinymce.min.js:
now run the commands
php bin/magento s:s:d -f
php bin/magento c:f
check-in the below URL: https://www.tiny.cloud/docs-3x//reference/configuration/Configuration3x@valid_children/
NOTE: It will render the CSS in admin, so admin layout will affect as per CSS