Support » Plugin: CKEditor WYSIWYG for Gravity Forms » GF Quiz add-on not saving Quiz Question field when this plugin activated

  • bnfw

    (@voltronik)


    Hi,
    This is a follow-up to this post which is closed to new replies.

    I’m using the latest version of GF, GF Quiz add-on, and the CKEditor WYSIWYG for Gravity Forms plugin and the issue is still present.

    I think, because the GF Quiz add-on uses a textarea for the Quiz Question sub-field within a Quiz field, this plugin styles the sub-field as a WYSIWYG editor but prevents this sub-field from being saved. When the CKEditor WYSIWYG for Gravity Forms plugin is deactivated, the sub-field saves as expected.

    Is it possible to see this issue resolved in the next update?

    If you need any other info, please let me know.

Viewing 1 replies (of 1 total)
  • bnfw

    (@voltronik)

    After some fiddling, I was able to temporarily fix this by adding ,#gquiz-question to the end of a list of excluded textarea fields on line 49 of /js/itsg_gf_tckeditor.min.js.

    First I copied the contents of the non-minified version of this file to the minified version, then I changed line 49 to read:

    $('.gform_wrapper .gform_wysiwyg_ckeditor:not(.wysiwyg_exclude) textarea:not([disabled="disabled"],.wysiwyg_exclude), .gform_wrapper .gform_page:not([style="display:none;"],.wysiwyg_exclude) .gform_wysiwyg_ckeditor:not(.wysiwyg_exclude) textarea:not([disabled=disabled],.wysiwyg_exclude), #field_settings textarea:not([disabled=disabled],#gfield_bulk_add_input,#field_calculation_formula,.wysiwyg_exclude,#field_placeholder_textarea,#gquiz-question), .gf_entry_wrap .postbox .gform_wysiwyg_ckeditor:not(.wysiwyg_exclude) textarea:not([disabled=disabled],.wysiwyg_exclude)').each(function() {

    Hope this helps someone but would love to see this fixed officially.

    • This reply was modified 12 months ago by  bnfw.
Viewing 1 replies (of 1 total)
  • The topic ‘GF Quiz add-on not saving Quiz Question field when this plugin activated’ is closed to new replies.