• Hello,

    I’m trying to develop a plugin, but before I need to know if it’s even possible since I’m new in developing for WordPress.

    Let’s say I want to have a button in “Add New Post” that when I click it, will do the following actions:

      Add title to post
      Add text to post
      Select Category
      Upload and Select Image
      Fill custom fields

    (Using gutenberg editor)

    Is this possible with a plugin? Already made some searches but didn’t get nowhere.
    Can someone point me in the right direction please?

    Thanks!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I don’t see any technical reason you could not do that. Aside from post text, the block editor has nothing to do with those things. It’s not clear how your plugin would know what to add or select, but assuming that is handled, the rest can be done. The block editor is JS/React based, so that approach would be appropriate for editor related things, but since little is editor related, you’re likely looking at a PHP approach.

Viewing 1 replies (of 1 total)

The topic ‘Plugin to interact with editor’ is closed to new replies.