Update issue
-
I updated the plugin and it removed the WYSIWYG from the textarea. I checked the settings and they all look good, not sure why its not showing. Please advise.
-
I’ve also noticed an issue:
I’m now seeing the CKEditor associated with all field descriptions in the Gravity Forms editor but the editor is no longer appearing in the form itself.
Hi,
Just to confirm, are you saying that the CKeditor isnt appearing in the client side form, or the back end entries screen or the form editor?
I just noticed one of the speed improvements I did (to stop the CKeditor loading for hidden pages) accidently page it not load in the back end entries screen.
Are you able to provide a link, here or email via [email protected]
@mrickan – I’ve long been frustrated by field fields allowing HTML formatting in the description fields but there not being a WYSIWYG field. I’ve been manually typing HTML into these fields but need to hand form making over to my clients, and know they wont be comfortable manually typing in the HTML mark up.
So I’m using this plugin as an opporuntity to provide this functionality.
I’m still working through the performance of it, it’s hard to get it to hook into GF without too much overhead.
It doesnt sound like this is a problem for you, but if it is you can disable it by turning off the option in the Gravity Forms -> Settings -> Ckeditor wysiwyg menu.Hello, Great Plugin Firstly 🙂
Its not working with the update i can confirm this as well, It just shows the default textarea, the editor does not display on the frontend of the form anymore.Update I just installed the previous version of the plugin 1.3.1 Its working fine, the form shows the editor on the frontend.
I can confirm that the toggling the setting eliminates the CKEditor from showing up for descriptions so that’s unrelated.
Along with abretado and orcusnova I’m not seeing the editor on the client side either.
OK thanks.
I haven’t got any links yet to see an example of what’s happening.
Could someone confirm
1 . that you’re not seeing a ‘Warning – Gravity forms not installed’ message at the top of the wp-admin
2 . that the ‘enable ckeditor wysiwyg’ option is displayed on the paragraph fields
3 . that the ‘enable ckeditor wysiwyg’ option is ticked if it’s meant to be
4 . (You’ll need to know how to view the page HTML for this one) on the front end form, that the LI for the field has the ‘gform_wysiwyg_ckeditor’ class, e.g.
<li id="field_26_17" class="gfield field_sublabel_below field_description_above gform_wysiwyg_ckeditor">
5 . (You’ll need to know how to view the page HTML for this one) the the following scripts are in the page source<script type='text/javascript' src='http://yourwebaddress/wp-content/plugins/gravity-forms-wysiwyg-ckeditor/ckeditor/ckeditor.js?ver=4.2.4'></script> <script type='text/javascript' src='http://yourwebaddress/wp-content/plugins/gravity-forms-wysiwyg-ckeditor/ckeditor/adapters/jquery.js?ver=4.2.4'></script>6 . that the scripts you find front step 5 open when you follow the src link
7 . the the following code appears in the page HTML (or something like it).function itsg_gf_wysiwyg_ckeditor_function(self){ (function( $ ) { "use strict"; $(function(){ $('.gform_page:not(.gform_page[style="display:none;"]) .gform_wysiwyg_ckeditor textarea:not([disabled=disabled]), #field_settings textarea:not([disabled=disabled]), .gf_entry_wrap .postbox .gform_wysiwyg_ckeditor textarea:not([disabled=disabled])').each(function() { $(this).ckeditor(CKEDITOR.tools.extend( { extraPlugins : 'wordcount', wordcount : { showParagraphs : false, showWordCount: false, showCharCount: true, charLimit: $(this).attr('data-maxlen'), hardLimit: true }, toolbar: [ { name: 'source', items: [ 'Source' ] }, { name: 'basicstyles', items: [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-', 'RemoveFormat' ] }, { name: 'clipboard', items: [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-', 'Undo','Redo' ] }, { name: 'paragraph', items: [ 'NumberedList','BulletedList','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl','Language' ] }, { name: 'links', items: [ 'Link','Unlink','Anchor' ] }, { name: 'document', items: [ 'Preview','Print', ] }, { name: 'editing', items: [ 'Find','Replace','-', 'SelectAll', ] }, { name: 'insert', items: [ 'Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] }, '/', { name: 'styles', items: [ ] }, { name: 'colors', items: [ ] }, { name: 'tools', items: [ ] }, { name: 'about', items: [ 'About' ] }], allowedContent: true })); }); }); }(jQuery)); } // runs the main function when the page loads jQuery(document).bind('gform_post_render', function($) {itsg_gf_wysiwyg_ckeditor_function(jQuery(this)); }); // runs the main function when the page loads (for ajax enabled forms) jQuery(document).ready(function($) {itsg_gf_wysiwyg_ckeditor_function(jQuery(this)); });Where can I download the previous version until this gets resolved?
Here’s 1.3.1
http://plugins.svn.ww.wp.xz.cn/gravity-forms-wysiwyg-ckeditor/tags/1.3.1/gf_wysiwyg_ckeditor_plugin.phpI cant resolve this until I actually see it happening – which i havent yet !
1 . No warning
2 . It does display
3 . Yes
4 . I found that in two places, 1 in the field class and the other in the script code.
5 . They work
6. good
7. looks goodAwesome thanks, still at a loss to know why all my test environments it’s working in but not for you guys.
Are we all talking about the same browser, maybe something a little left field like Safari or Opera?
I just whipped up a fresh install of WP, GF and this plugin.
And it’s working in Chrome, FireFox and Internet Explorer.
I still haven’t been able to see a website where this isn’t loading, and I’m about to give up if I don’t (I cant help what I can see).
Perhaps someone can say if the Ckeditor is loading here:
I emailed you my information again. And yes that editor is working for that link your provided. Im using both Chrome and Firefox.
I’ve forwarded credentials and a link to my site as well.
The link is working for me as well.
OK – I think I’ve found the issue.
I think it’s only happening in single page forms.
I must have only tested in multi-page forms.
Will work on the fix now and push the update out shortly.
OK, thanks everyone for your input.
Especially those that ran tests and shared their form URL.The issue was deffinately a bad ‘selector’ that is used to enable the CKeditor.
I had changed the selector to try making CKeditor not load for hidden pages in multi-page forms, but I didn’t anticipate how it would affect single page forms.
Update 1.5.1 should fix this up. Crossing fingers here !
= 1.5.1 =
* FIX: Resolve issues with CKeditor not loading for single page forms.
* MAINTENANCE: Further improvements to JavaScript that handles CKeditor in the form editor.
The topic ‘Update issue’ is closed to new replies.