26
WYSIWYG images with captions
Source: directus/directus#20069 · opened by @matthanes
Summary TinyMCE has the ability to add captions to images, but the "Add/Edit Image" button in Directus has a more custom interaction than the default TinyMCE behavior. There have been similar discussions, but I am including a potential solution which other discussions did not supply. I would propose adding to the Directus image interface a "Caption" field to like this: ![screenshot]( Basic Example _No response_ Motivation When a content editor is creating an article in a WYSIWYG field, they may want to give credit for an embedded image or provide context for the image using a caption. This is a different purpose than using alt text to describe the picture for screen readers. Detailed Design As shown in the screenshot above, the interface could be given a new Caption field to supply the caption text. There appears to be a section of code starting [here]( that builds the <img> tag that is added back into the editor. ![image]( If pos…
No pledges yet. Be the first to back this.
Comments
Similar requests
Mathematical or Scientific Formulas in WYSIWYG Field
7 votes · 0 comments
Support `pagebreak` in TinyMCE WYSIWYG
1 vote · 0 comments
Allow setting static access token for WYSIWYG editor in Flows Email operation
1 vote · 0 comments
Automatically wrap the `<img>` tag with `<figure>` and `<figcaption>` tags when using the "add/edit image" tool in the WYSIWYG editor.
1 vote · 0 comments
Add ability to hide/arrange default fields on the Directus Files edit view
12 votes · 0 comments
No comments yet.