The WYSIWIG editors on the Settings page of a YAML form, used to create customized messages, including the 'Confirmation Message' shown after the form is submitted, appear only to accept 'Basic HTML', instead of 'Full HTML'. I would like to be able to manually add in-line styling to the HTML code for these message boxes.

Comments

jwest1@eastern.edu created an issue. See original summary.

jrwest_webguy’s picture

Update: Modified the toolbar settings for the 'Basic HTML' text editor -- found at Admin>Config>Content Auth>Text formats and editors -- but they did not transfer over to the 'Settings page' WYSIWIG editors for some reason -- in fact it doesn't look like they transferred over to ANY WYSIWIG editors used by the YAML forms module(s). This despite my 'processed text' element having a drop down to select which (system-wide?) text editor configuration to use.

jrockowitz’s picture

I am avoiding using 'Text Formats and editors' for basic HTML snippets because I wanted to provide a simpler and more consistent HTML editor. For example, I am not sure how we would handle things like uploaded inline images and embedded media (which are supported 'Text Formats and editors' ) in email confirmations and messages.

I am hoping a compromise might be to keep the simple HTML Editor but allow any tag to be entered via view source mode.

I am going to test CKEditor's config.allowedContent and see if it works as expected.

http://stackoverflow.com/questions/15659390/ckeditor-automatically-strip...

  • jrockowitz committed a0a1dde on 8.x-1.x
    Issue #2820921: WYSIWIG Boxes on Settings Tab should accept Full HTML,...
jrockowitz’s picture

Status: Active » Fixed

Setting allowedContent to true, now allows any HTML markup to supported by the HTML editor.

Please test the latest dev release.

jrwest_webguy’s picture

Status: Fixed » Active

Confirmed: The WYSIWIG editors on the settings page work much better now and will accept the HTML code I want to use there. Thank you, jrock!

jrwest_webguy’s picture

Status: Active » Fixed

Sorry. When I added my confirmed / kudos, it changed the status to active instead of fixed. Setting it back to fixed now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.