• Resolved Hamed Azimi

    (@dadparvar)


    Hello,

    We have custom fields added by PODS.

    On the other hand, we have multiple 3rd party plugins that add their own stuff to Gutenberge editor. (for example, Rank Math is adding FAQ Schema Generator to the WP’s editor which makes is possible to create rich FAQ from withing the editor)

    Now, we can’t use those features in our custome fields by PODS because those features are not added to WYSIWYG (Visual Editor).

    Is there any way to inject those features into the PODS’s WYSIWYG (Visual Editor), OR, is there any plan to bring WP’s new editor to the list of Field Types of PODS so that we can use those 3rd party plugins’ features?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Paul Clark

    (@pdclark)

    Similarly, I am using a coupon plugin that provides coupon-specific shortcodes. I am able to embed and display the stylized coupon using the shortcode via Gutenberg on a normal WP page/post; but would like to do the same through my custom Pod content type.

    I have specified paragraph field with the WYSIWYG option, and have enabled the shortcode advanced option for the field. But when I put the coupon shortcode in the WYSIWYG editor, it is not rendering at all. It’s just blank.

    Also, what is the likelihood of adding a specific “shortcode field type” to the Pod builder, rather than having to do it via the “paragraph > WYSIWYG > allow shortcode” workaround?

    Thanks and please advise.

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @mungbean

    The UI for the admin pages do not render shortcodes in a WYSIWYG editor. It’s simply a different editor than the Block editor.
    I doubt the block editor can or will be used for custom meta fields anytime soon.

    In any case, from reading this topic, it almost sounds like you haven’t enabled the Block editor for your CPT at all.
    Since the block editor requires the REST API to be activated, please do so in your CPT configuration (last tab) and you can use the block editor as your main content editor for this CPT.
    Please let me know if this helps!

    Cheers, Jory

    Thanks, Jory. It appears I did enable REST API and am actually noticing the Gutenberg UI in the CPT now, perhaps I missed it. It would be helpful if the ? icon for REST API option mentioned that it affects Gutenberg etc, otherwise I’d have no idea what the option does.

    As for displaying the coupon shortcode, I was able to get some success by changing the paragraph field to the “code” option and enabled the shortcode option. Entering the shortcode in the code text editor, did render the coupon on the page as hoped!

    I do still find this workflow to get a shortcode to render, quite convoluted. I still think it would be very useful to have a “shortcode” field type.

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @mungbean

    There is no real difference between a simple input and defining it as an “shortcode” field. This is IMO more a UI thing which you can configure in your field settings.

    It might be nice to support shortcodes in a plain text field, that wat there is no real difference at all.

    As for the REST API, we are working on getting this more clear. It’s just an issue of backwards compatibility and UI.

    Cheers, Jory

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show 3rd party blocks or shortcodes in WYSIWYG (Visual Editor)’ is closed to new replies.