WordPress.org

Ready to get started?Download WordPress

Forums

User Submitted Posts
[resolved] Adding quicktags (bold, italic etc.) to textarea USP (13 posts)

  1. 1BJK903
    Member
    Posted 11 months ago #

    Hi there,

    Is it possible to use the Basic Comment Quicktags to add buttons with quicktags to the textarea so that it outputs buttons like <bold> </i> <b-quote> etcetera? Of course it doesn't have to be the BCQ plugin, any possibility to add tags would do it actually.

    I hope someone can help me out with this.

    http://wordpress.org/extend/plugins/user-submitted-posts/

  2. Jeff Starr
    Member
    Plugin Author

    Posted 11 months ago #

    Hi 1BJK903, it is possible to include accepted markup tags like em, strong, and so forth, but some custom coding would be required to add quicktag buttons to the USP form.

  3. 1BJK903
    Member
    Posted 11 months ago #

    Yes, I managed to pull it off with javascript, but I actually want the default tags that are in WordPress like on this commentarea... How can I do that? Could you help me with that please?

  4. Soumik49
    Member
    Posted 10 months ago #

    May be if someone can help us to replace the editor of the form with the wordpress editor.. that should be fine. I'm also having the same issue.

    Yes, I managed to pull it off with javascript

    Did you manage to create custom buttons of font-types in the form editor? If so, can you kindly share your code?

  5. 1BJK903
    Member
    Posted 9 months ago #

    No, it's not font-types like B or I, but other shortcodes.

  6. 1BJK903
    Member
    Posted 9 months ago #

    Jeff, can you look at this too?

  7. Jeff Starr
    Member
    Plugin Author

    Posted 9 months ago #

    yep, just added to the list for this next version..

  8. Jeff Starr
    Member
    Plugin Author

    Posted 9 months ago #

    Version 20130720 includes option to use WP's rich text editor for the textarea :)

  9. 1BJK903
    Member
    Posted 9 months ago #

    Is the plugin out already then? I can't see it.

    Anyhow, is there any change you can add the quicktags like on WordPress support? So the bold tag, <i> tag... Instead of the WYSIWYG editor?

  10. Jeff Starr
    Member
    Plugin Author

    Posted 9 months ago #

    Yep, new plugin version available here:

    http://wordpress.org/support/plugin/user-submitted-posts

    Currently the rich text/WYSIWYG editor is included using its default settings, but it should be easier now to make custom modifications to achieve the simpler quicktag menu, as you mention.

  11. 1BJK903
    Member
    Posted 9 months ago #

    Thanks mate, will test it out!

  12. 1BJK903
    Member
    Posted 9 months ago #

    @Jeff: where can I edit the richtext editor? I want to have different tags...

    Couldn't find it...

  13. Jeff Starr
    Member
    Plugin Author

    Posted 9 months ago #

    The file to edit is located in the /views/ directory; it's either submission-form.php or submission-form-classic.php, depending on your settings. In either of those files look for the wp_editor() function and then go from there.

Reply

You must log in to post.

About this Plugin

About this Topic