• Resolved fabzzz

    (@fabzzz)


    Hi!

    Plugin is working nice with the default wordpress editor, but not with ACF (Version 6) fields. The EasyMDE, seems to not get loaded in customs fields.

    Is there anyway to make it compatible with ACF ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Hi @fabzzz

    Yes it should be possible, but it’s gonna take me some time.

    For now the fallback is for you to setup your custom field as classic pure text input – or textarea (not WYSIWYG) – then write your content as markdown, and finally use the way to ouput HTML as described in the faq :

    In your child’s theme template by adding something like this:
    echo mmd()->markdown2html( get_field( 'custom_field_name') );

    The custom field saved with markdown content should be parsed and rendered correctly as html code.

    I’m gonna look into how to load the editor within ACF but can’t promise anything as I’m not familiar with the plugin API, plus I’m in the middle of refactoring the code right now^^ I need this feature for my personal blog as well, definitively required, will keep you posted.

    Would be great if you can manage to do it manually for now m(__)m

    Regards,

    Pierre-Henri

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    ?? Good news for you @fabzzz, I’ve just released v2.0.1, and you will find a new custom field called “Markup Markdown” within the ACF metabox that will load the markdown editor. ??
    You should be able with ACF to modify the type for existing fields as well. Hope this will solve your issue, et passez un bon 1er mai ??

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Hello @fabzzz,

    I hope this message finds you well. I haven’t heard you for a while so I’m gonna mark this task as solved. If you read this message, please update to version 2.0.1 or upper to setup a “Markup Markdown” field type with ACF.

    Kind Regards,

    Peter

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Markup Markdown with ACF fields ?’ is closed to new replies.