Write > Image has a field 'HTML Class' that's applied to the inserted content.
Proposal is to support this on all other types of insertable content, e.g. HTML code, table, videos and custom web content (per discussion here).
Support HTML Class on all insertable content
Moderators: Alexander Halser, Tim Green
-
- Posts: 454
- Joined: Thu Nov 16, 2006 1:29 pm
- Location: London, UK
Re: Support HTML Class on all insertable content
I agree! I would particularly like to see this with embedded in-line videos.
The use case is this: some instructional videos show things happening on a white screen, and when that video is embedded on a white page, the viewer loses the sense of the boundaries of the video, and that can be visually distracting. (The same thing happens with still screenshots, which is why experienced content creators always add a border to screenshots.)
I'd like to see this accomplished by adding three items on the "Edit Youtube/Vimeo Video" dialog boxes:
(1) Checkbox for "border"
(2) Field for entering border width in pixels
(3) Field for entering color (hex code, with default = #000000)
In the background, it's just a matter of adding this style attribute to the iFrame:
style="border: 1px solid #000000;" with the width and color being the data coming from the dialog boxes.
Thanks!
The use case is this: some instructional videos show things happening on a white screen, and when that video is embedded on a white page, the viewer loses the sense of the boundaries of the video, and that can be visually distracting. (The same thing happens with still screenshots, which is why experienced content creators always add a border to screenshots.)
I'd like to see this accomplished by adding three items on the "Edit Youtube/Vimeo Video" dialog boxes:
(1) Checkbox for "border"
(2) Field for entering border width in pixels
(3) Field for entering color (hex code, with default = #000000)
In the background, it's just a matter of adding this style attribute to the iFrame:
style="border: 1px solid #000000;" with the width and color being the data coming from the dialog boxes.
Thanks!
e
d
============================================
Ed Hawco
d
============================================
Ed Hawco