Home Forums Plugin Support WP User Frontend Pro rich textarea

This topic is: resolved

Tagged: 

This topic contains 18 replies, has 5 voices, and was last updated by  Nayem 3 years, 11 months ago.

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #5220

    ggsalas
    Participant
    Post count: 108

    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″]

    #5228

    Tareq Hasan
    Keymaster
    Post count: 2831

    Whats the exact problem you are having?

    #5229

    ggsalas
    Participant
    Post count: 108

    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.

    #5244

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #5245

    ggsalas
    Participant
    Post count: 108

    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”

    #5246

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #5248

    ggsalas
    Participant
    Post count: 108

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

    #5261

    Tareq Hasan
    Keymaster
    Post count: 2831

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

    #6233

    guigoz
    Participant
    Post count: 2

    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.

    #6256

    Tareq Hasan
    Keymaster
    Post count: 2831

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

    #7537

    ggsalas
    Participant
    Post count: 108

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

    #8617

    ggsalas
    Participant
    Post count: 108

    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

    #8618

    guigoz
    Participant
    Post count: 2

    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.

    #8620

    ggsalas
    Participant
    Post count: 108

    Hi Tareq

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

    Thanks

    #8624

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

Viewing 15 posts - 1 through 15 (of 19 total)

The topic ‘rich textarea’ is closed to new replies.