Jump to content

Archived

This topic is now archived and is closed to further replies.

Loathing

Custom CSS and JavaScript textareas fill height

Recommended Posts

Loathing
In the Custom edit section in the DMS2 editor, it would be convenient if the textareas for the custom sections would fill the available height.

Other improvements are:
  • for me, only mouse wheel scroll down works, but not scroll up
  • really long lines of text (e.g. base64 encoded images) make the text area impossible to use.
E.g.
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiAPgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSICiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQCiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

Share this post


Link to post
Share on other sites
Danny

Hi,

 

The Custom CSS/LESS editor was designed to be used for simple snippets of CSS/LESS and not advanced techniques. If you need to use advanced techniques such as base 64 images, :after, :before etc... then you really should use a child theme.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×