Is there anyway to have the tinyMCE editor on a contour form? I am using standard text area, but the data that is entered then loses spacing and quotes, bold etc
Is there a way that I can use the tiny editor in a contour text box??
Unfortunately there is no built-in way to do this, but you could look into creating a custom field type if you like. There is some documentation on this on Contour's project page (Developer Manual download) and you could also check out the Contour Contrib source for some other examples.
Or if you don't want to go the custom field type route you can simply add some js to your frontend and target the textareas you want to have in rte mode (like adding tinyMCE)
Rich Text Contour Forms
Hi Guys,
Is there anyway to have the tinyMCE editor on a contour form? I am using standard text area, but the data that is entered then loses spacing and quotes, bold etc
Is there a way that I can use the tiny editor in a contour text box??
Merry Christmas!
Dan
Hi,
Unfortunately there is no built-in way to do this, but you could look into creating a custom field type if you like. There is some documentation on this on Contour's project page (Developer Manual download) and you could also check out the Contour Contrib source for some other examples.
-Tom
You can also take a look at Tim Geyssens' demonstration on creating a custom field type.
Comment author was deleted
Or if you don't want to go the custom field type route you can simply add some js to your frontend and target the textareas you want to have in rte mode (like adding tinyMCE)
is working on a reply...