I am using the tinyMCE visual editor to allow users of my site to submit some content.
I would like to layout the guidelines of their post to them (eg: "Be specific, be thorough").
The most obvious way to do this is ordinarily with the placeholder
attribute.
However, I understand this is not an option with the visual editor.
Therefore, I though of showing a bootstrap popover on focus of the visual editor. However, I am not able to achieve this either (perhaps because the visual editor iframe uses elements that don't trigger focus
).
Is there a way that I can do either of the above two things?
If not, how can I present the user with some guidelines for writing the post? (I feel like if I don't place the guidelines within the editor or as a response to focusing on the editor, it will receive less attention).
Thanks.
textarea
element, it's aiframe
. Therefore I was unable to do this (specifically, I couldn't select thep
element within theiframe
in order to manipulate it via jQuery.