Altru Ideas

Allow css classes in webform descriptions

I have custom classes defined in my page designer's css style sheet, and I reference those classes particularly in webform descriptions. I can edit the description in HTML mode to use these classes, and I can update and save the description and it works fine, but the next time anyone goes to edit that webform description, it strips the class references out of all my elements.

The only solutions are to (1) not let anyone else edit webform descriptions, so I know which classes belong there, or to (2) not use classes, instead fully type out every single style that should be applied in the description, which basically limits the webform editing to just me, similar to solution #1.

Again, css classes work, but the WYSIWYG editor strips them out upon re-edit.

  • Randall Rupert
  • Aug 31 2017
  • Reviewed
  • Attach files