Hi –
Thanks for this plugin.
I’m using this plugin w/ GF and trying to use the Gravity Form Survey Add On. This plugin breaks (does not allow the form to render so you don’t see the layouts for) the Likert, Rank, Rating, layout options that the Survey Add On provides (kind of the key reason to use the plugin.)
Any insight on how to resolve?
I’m thinking that since no HTML for the Likert, Rank, Rating, fields are even being sent to the browser, that something in the PHP is not allowing for these fields types to be created.
Here is a link to screen grabs with the WYSIWYG plugin on and off. You can see when the plugin is on, none of the HTML for the Survey field is even making it to the output.
]]>
Is there an option so that the field will autoresize to the size of the content inside of it? If not, how can I do this with this plugin?
]]>This plugin is breaking the Survey addon by GForms. Deactivating this plugin re-enables the Survey advanced field. Choosing Likert, Rank, or Rating are all broken in the admin and front end when this plugin is activated. Please advise a solution.
]]>Hi,
Gravity-forms-wysiwyg is conflicting with Gravity Forms advanced files uploader. (and probably others add-on for gravity forms).
To fix it, please replace the “return false;” by “return input;” at the end of the function wysiwyg_field_input in the file gf_wysiwyg_class.php.
The function must be like that :
function wysiwyg_field_input($input, $field, $value, $lead_id, $form_id) {
if ($this->is_wysiwyg($field)) {
$input_id = 'input_' . $form_id . '_' . $field["id"];
if (is_admin()) {
$tabindex = GFCommon::get_tabindex();
return sprintf("<div class='ginput_container'><textarea readonly name='input_%s' id='input_%s' class='textarea gform_wysiwyg' {$tabindex} rows='10' cols='50'>WYSIWYG editor</textarea></div>", $field["id"], 'wysiwyg-' . $field['id']);
} else {
$media_buttons = strpos($field["cssClass"], 'media_buttons') !== false;
$args = array(
'textarea_name' => 'input_' . $field["id"],
'wpautop' => true,
'media_buttons' => $media_buttons,
'editor_class' => 'frontend',
'textarea_rows' => 5,
'tabindex' => 0 //$tabindex
);
ob_start();
wp_editor($value, $input_id, $args);
$html = ob_get_contents();
ob_end_clean();
return "<div class='ginput_container'>" . $html . "</div>";
}
}
return $input;
}
]]>
Hi there,
Great plugin. I’ve come across a bug that I thought I should pass on.
I’m using gravity forms to allow users to submit paid for adverts. When testing on Windows 7/IE8, the content of the body field (the only section of the form that has wysiwyg applied) does not get saved. I am guessing that it is getting stripped as part of the process of going through PayPal (offered through gravity forms).
Look forward to seeing if this gets resolved.
Thanks
]]>hi
a p is displayed under the WYSIWYG editor i want to remove that word p
because it distracts the users
is there a way of doing this
]]>Hello, I’m using GF 1.8.20 on WP 4.1. Just about a week or two ago, I started having problems with my form responses whereby the password field was not being passed via the forms’ confirmation redirect url. I didn’t notice the problem right away, but this caused problems with all form submissions made during that time.
It’s really weird, though, it seems that those passwords entered in that field are nowhere to be found! I cannot review them when I look at the results of the form submissions, new or old, and I cannot use the short code for the password field to send in a confirmation email anymore, either; if I use the “all fields” short code, the password is not shown in the email.
I created a whole new blank form, with just name, email, and password, on the same site, and it exhibits the same behavior. Tomorrow, I’ll try it on another site, and see if that is any different.
Can anybody else take a look at this and see if they see the same problem with password fields?
Thanks in advance!
]]>hi ,
you return false in wysiwyg_field_input function .
and your code in wronge .
you must change false to $input , because if we active your plugin , all other custom field returns false :
function wysiwyg_field_input($input, $field, $value, $lead_id, $form_id) {
if ($this->is_wysiwyg($field)) {
$input_id = 'input_' . $form_id . '_' . $field["id"];
if (is_admin()) {
$tabindex = GFCommon::get_tabindex();
return sprintf("<div class='ginput_container'><textarea readonly name='input_%s' id='input_%s' class='textarea gform_wysiwyg' {$tabindex} rows='10' cols='50'>WYSIWYG editor</textarea></div>", $field["id"], 'wysiwyg-' . $field['id']);
} else {
$media_buttons = strpos($field["cssClass"], 'media_buttons') !== false;
$args = array(
'textarea_name' => 'input_' . $field["id"],
'wpautop' => true,
'media_buttons' => $media_buttons,
'editor_class' => 'frontend',
'textarea_rows' => 5,
'tabindex' => 0 //$tabindex
);
ob_start();
wp_editor($value, $input_id, $args);
$html = ob_get_contents();
ob_end_clean();
return "<div class='ginput_container'>" . $html . "</div>";
}
}
return $input;
}
please update it .
]]>Hi,
I’m pulling the content of a WYSIWYG field into my Gravity Forms notification. When the text is displayed in the user’s email client, there’s an excessive amount of white space around a lot of the text, especially ul and ol lists.
I’ve disabled auto-formatting for the notification, but the auto-formatting from the WYSIWYG field still seems to be getting pulled in.
There doesn’t appear to be an option to turn this off on the field itself. Is there any way I can get this text to format properly?
-Trey
]]>Hey,
I’m including a form using the wysiwyg functionality optionally within my theme by harnessing do_shortcode but the editor css does not get included.
js loads fine, its just the CSS code that isn’t included.
Thanks
]]>When users reach the form, the form is set to html mode. They have to click the tab to activate visual mode. Is there a way to set it by default to visual mode? I’m scared that my users won’t be able to figure it out.
]]>Hi – am i the only one having this “bug”? In the fontend (form) everything is perfect (both in editing and view mode).
If i turn to the backend and select “edit entry” i see only “WYSIWYG editor” on the WYSIWYG Field position. “Spying” this field tells me that it is “readonly”. Fact is i can NOT change the content inside this field
<textarea readonly=”” name=”input_2″ id=”input_wysiwyg-2″ class=”textarea gform_wysiwyg” tabindex=”2″ rows=”10″ cols=”50″>WYSIWYG editor</textarea>
]]>The Text (HTML) tab has disappeared from the editor in CPT fields is there a way to get it back?
]]>Is there a hook to remove the Add Form button from the WYSIWYG editor on custom fields?
]]>Hi,
Whenever I switch to Text tab and try to switch back to Visual tab, I always get this error
Uncaught TypeError: Cannot read property ‘canvas’ of undefined
Tried so long but still cannot resolve it. So what i’m planning to do is to hide Text tab so no one can switch from text tab and back to visual tab, therefore no one will see this error.
So my question is, how do I hide the text tab so nobody can switch to that tab?
thanks
]]>Character limits on paragraph fields don’t seem to work with the WYSIWYG plugin. Anybody know of any way to get this to work?
]]>This WYSIWYG editor will not save any content at all. Im using a gform multi-part form, and after clicking submit and viewing the entry, there is nothing for the WYSIWYG field.
I also found that on a multi-part form, if I click Next to goto the next part of the form, but then click Previous to go back, the field is blank too. Please please help fix this. My users are getting very frustrated.
When will this plugin be compatible with the latest version of both Gravity Forms and WordPress?
]]>Hi,
As mentioned I have 2 issues currently, the first is already on here about media uploads not working, the second is about displaying WYSIWYG in the box.
With WYSIWYG implemented in a Gravity Forms ‘body’ box when in VISUAL mode the box breaks the stylesheet and is twice the width of the page. The buttons all have a uniform large gap between each one. IF in TEXT mode the box fits in line perfectly.
Any help please?????
David
]]>I’m running the latest Gravity Forms + latest WordPress. I have added wysiwyg for Gravity Forms and I get 2 errors:
First is that when I use the Media Button to upload an image it repeatedly gets an Upload error, please try again later.
This error does not happen if I use the back end to upload, either via the library dashboard, or by the media button in a new post or custom post type. It only occurs when running in the front end via Gravity Forms and WYSIWYG.
Any suggestions??
Gravity Forms is running with;
1: + Custom Post Types
2: saved Forms Add-on
3: WYSIWYG
If I deactivate the first 2, the error still occurs everytime.
Thanks
David
]]>After installing this plugin the signature field stopped displaying. As soon as this plugin was disabled it showed up again.
Appears to be a conflict. Too bad – this looks like a great plugin!
]]>There is a plugin conflict with this plugin and Gravity Forms Survey Add On. This happens when trying to use the survey add on field types of Likert, Rank, and Rating. Nothing is outputted after the label html field on both the form editor admin screen and the live form output. Please let me know when this can be fixed. I really need both working. Im using gforms v.1.8.5, wordpress v.3.8.1 and survey addon v.2.1
]]>When using the WYSIWYG editor in a paragraph text field, unordered lists appear to format correctly, however upon publishing, each li is assigned to a separate ul.
We have our form set to submit a post as a draft. The draft is then reviewed by a staff member, and upon approval, published.
The review of the post seems to be converting:
<ul>
<li>one</li>
<li>two</li>
<li>three</li>
</ul>
to this:
<ul>
<li>one</li>
</ul>
<ul>
<li>two</li>
</ul>
<ul>
<li>three</li>
</ul>
]]>
I’m just wondering if it’s possible to customize the WYSIWYG editor so that users get a limited set of formatting options.
For example I’d really prefer they just get a basic tool set for bold, italics, and link. Maybe lists, but that’s it. Giving the whole WordPress kitchen sink of editing options is a bit much for a lot of people.
Is there any way for me to customize this in the plugin? I can’t find it, but don’t know if I’m missing something.
]]>Hi
Ive just noticed a conflict between Gravity Coupon Add-on and this plugin as it doesnt show the coupon box to enter the coupon code – it just shows the title!
]]>hi, this quite great plugins but i experiencing a problem using this.
See the pic : Screenshot
the editor not showed up like others. in preview form mode, it looks fine, but some of these not loaded :
I compared the preview form (the wysiwyg show up)
Preview Form
and the frontend form (the wysiwyg not show up)
FrontEnd Form
some line not loaded.
any idea to solve it ?
]]>Is there a way to add the standard links icon to the tool bar please?
]]>Hi Everyone,
I have a custom theme that by default uses white text on its pages (my backgrounds are dark/black).
Since Gravity form fields are also white, I cannot see the text being entered due to the colors being the same. Is there any way to change the text color to black specifically for these forms only?
P.S. I’m a bit of a newbie, so please guide me at an elementary level when it comes to editing style sheets or code if necessary.
Thanks! ??
– Joshua
]]>Looking through codebase right now, trying to find what causes this
]]>