Up to 50 percent off

rich textarea

This topic contains 18 reply and 5 voices, and was last updated by Nayem 9 years, 6 months ago
Viewing 15 Posts - 1 through 15 (of 18 total)
Author Posts
June 25, 2013 at 12:44 pm 5220
Nayem Hi, I can't use "rich textarea" with "image upload in post area". This is a test in http://demo.wedevs.com [wpuf_form id="3511"]
June 25, 2013 at 3:07 pm 5228
Tareq Hasan Tareq Hasan

Whats the exact problem you are having?

June 25, 2013 at 3:33 pm 5229
ggsalas ggsalas

I can’t see buttons bar of rich text area. It happens when I insert more than one form in the same page. The rich text area are the first “bodie” post-field.

June 25, 2013 at 6:11 pm 5244
Tareq Hasan Tareq Hasan

You can only insert “Post Body” field once on the form and only the “Post Body” field has the image upload/insert feature.

If you are talking about the rich textarea feature, you’ve to select Rich textarea or Teeny Rich textarea option to enable rich edit.

June 25, 2013 at 6:55 pm 5245
ggsalas ggsalas

My problem is that I need insert 4 forms in 4 tabs:

For each form -> One “post bodie”
For One page -> 4 “post bodie”

In this example I show to you the problem: http://demo.wedevs.com/wpuf/test-richtextarea/

The form1 have a post bodie “normal”. The form2 have a post-bodie “Rich textarea”.

In the page looks backwards : form1=”Rich textarea” and form2=”normal”

June 25, 2013 at 7:08 pm 5246
Tareq Hasan Tareq Hasan

The problem is, you can’t add multiple post bodies with rich textarea in the same page. The reason is, TinyMCE is used to generate those rich textareas and it comes default with WordPress. TinyMCE works by using the CSS ID of the textarea. In your case, you’ll have 4 textareas with same id post_content in that page and only the first textarea will have richtext support. Others will not have it because a textarea is already assigned with the same ID, so rest of those 3 textarea will not be initialized by TinyMCE.

June 25, 2013 at 7:20 pm 5248
ggsalas ggsalas

I understand. Exist any chance to assign the richtextarea Only to the last post-bodie?
Thanks

June 25, 2013 at 10:39 pm 5261
Tareq Hasan Tareq Hasan

Sorry, as this is JavaScript and it executes from top to bottom. So the first post body will always get the editor.

July 23, 2013 at 1:22 pm 6233
guigoz guigoz

Hi,

I have the same problem : a form by tab. The solution could be that we can change field ID like css class in backoffice, and create dynamic jQuery call based on rich textarea created by WPUF ?

Thanks for your help.

July 23, 2013 at 9:49 pm 6256
Tareq Hasan Tareq Hasan

Yes, that could be a workaround. I’ll try that, thanks for the idea.

August 28, 2013 at 4:07 am 7537
ggsalas ggsalas

Hi @guigoz, can you solve how to select which one post-body can have a rich textarea? Regards

October 1, 2013 at 7:26 pm 8617
ggsalas ggsalas

Hi @guigoz,

I would like to do your solution to have rich textarea in one same page (one form by tab). Can you help me with this?

Hi @Tareq, I discover other problems using more that one form in the same page:

– “image upload in post area” uploads to the first post-content of the page. Tested on http://demo.wedevs.com/wpuf/test-2-forms/

Thanks

October 1, 2013 at 7:34 pm 8618
guigoz guigoz

Hi @ggsalas

I had no time to try this, so I droped it. I’m sorry but I an’t help you.

It should be implemented in the plugin himself by @administrator staff to avoid breaking future update.

Good luck.

October 1, 2013 at 8:32 pm 8620
ggsalas ggsalas

Hi Tareq

I have read this response. Can I modify the css ID of the post content with one hook?

Thanks

October 2, 2013 at 12:17 am 8624
Tareq Hasan Tareq Hasan

There isn’t any hook available to change those ID’s. So either you’ve to change the code, or you’ve to wait until the feature comes to the plugin core. But can’t guarantee you if it’ll come to the plugin and any ETA.

October 2, 2013 at 1:05 am 8631
ggsalas ggsalas

Hi @Tareq

You can create an add on for me to I can modify the css ID? If in the future this option is developed in the main plugin, I would like have no problems to update. How much it cost me? Please send me the reply to my mail.

Best regards.

Viewing 15 Posts - 1 through 15 (of 18 total)