WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms WYSIWYG
[resolved] Media button (6 posts)

  1. hbaslo
    Member
    Posted 1 year ago #

    Hi and thanks for this plugin !

    Do you plan to integrate the wp media button as it works with the wp_editor ? It will be perfect after that !

    http://wordpress.org/extend/plugins/gravity-forms-wysiwyg/

  2. mpez
    Member
    Posted 1 year ago #

    I agree!

    Or can you suggest where to look to try and implement it ourselves?

  3. bradvin
    Member
    Plugin Author

    Posted 1 year ago #

    I plan on doing this, but just cannot find the time right now unfortunately. This might help you get started : http://codex.wordpress.org/Function_Reference/wp_editor

  4. mpez
    Member
    Posted 1 year ago #

    Thanks bradvin, I resolved by changing

    'media_buttons' => false,

    to

    'media_buttons' => true,

    at line 117 in file gf_wysiwyg_class.php (and by adding some css styling).

    Hope this helps hbasio too! Cheers

  5. shamai
    Member
    Posted 1 year ago #

    the problem with that is the media upload appears in the current post not int he form in the post!!

  6. bradvin
    Member
    Plugin Author

    Posted 1 year ago #

    I did not want to enable the media buttons by default, but you can turn it on now simply by adding a class name of "media_buttons" to the wysiwyg field

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.