Using WYMeditor¶
Anatomy of an Editor Initialization¶
So what actually happens when you call
$('#my-textarea').wymeditor()?
- Your existing
textareais hidden. - An iframe is created in that location.
- The attribute
data-wym-initializedis added to thetextarea. - The WYMeditor toolbars and interface load.
- The iframe is initialized with the content from your
textarea.