• Hi there,

    is it possbile to replace the standard textarea for the new caption with an editor box. We don’t want HTML to be insterted directly, rather have the option to add links using WYSIWYG.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tinodesigns

    (@tinodesigns)

    So I’m able to do this if I replace the textarea in the file fsm-custom-featured-image-caption.php (line 465) with wp_editor() function.

    However currently it is a bit buggy, the WP editor is not editing links properly. That link popup is not opening correctly. any suggestions?

    Also is this a feature you might add in the next verison?

    Thanks

    Thread Starter tinodesigns

    (@tinodesigns)

    Ok so after looking into this some more.

    wp_editor only works when the “classic editor” is being used, for that the classic editor plugin mus be actiaved.

    Also the bug only shows when the WYSIWYG editor is being loaded on the righthand sidebar. Moving it to the left makes it work fine. the bug is most likely in tinyMCE and the link popup since that is not fitting on the screen anymore when the editor si narrow and on the right of the screen.

    Now here are my requests:

    Is there a way to add the WYSIWYG editor when using the standard Gutenberg editor (Block Editor) in WP?

    Would this be something you would add to a future version of this plugin?

    We are actually using it this way but I don’t want to mess with an already good working plugin. I would have to djust the code after each update.

    If you need the code I used so far for this, let me know.

    Best,
    Tino

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I make the textarea and editor field’ is closed to new replies.