WordPress.org

Ready to get started?Download WordPress

Forums

Plugin - Custom Text Editor - media_buttons (2 posts)

  1. Peter Rosa
    Member
    Posted 2 years ago #

    Dear all,

    please advice - I create my own plugin, which will allow to edit custom fields; after approving plugin will join custom fields into standard WordPress post. I have my DB table to save such custom posts, I have to create the text editor. The editor is for Administrator user only, not for guests etc. But I have to minimize possibility for errors and I do not want Admin to create the post manually - that is why I need an custom one.

    First, I have to create the text editor. I want a visual editor like the one the WordPress uses.
    Next, there is a need to include Media Library for uploading and editting media content (images, videos). Media Library in WordPress uses AJAX, it is pretty and user-friendly, so I would like this one.

    Is there a way, how to re-use the editor used in WordPress but add some fields around it?
    Or is there a way how to include Media Library in plugin's editor (with AJAX etc.)

    Hope I am clear enough :-)

    Best regards,

    Peter

  2. Peter Rosa
    Member
    Posted 2 years ago #

    SOLVED BY MYSELF

    Solution is the_editor() function called in a proper place of the form.

    Best regards,

    Peter

Topic Closed

This topic has been closed to new replies.

About this Topic