• Resolved asfarfordev

    (@asfarfordev)


    I tried it for one day and found some problems:
    On a multi-site , the plugin does not work on all post types , so I had to change the code in the function

    public function add_markdown_support() {
    Inside markup-markdown\MarkupMarkdown\Core\Support.php to add jobs post type
    The plugin does not support the Arabic language RTL. It is better to add an RTL button to the editor toolbar.
    In addition, I suggest adding more buttons to the Custom toolbar.

    Thank you

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

    (@peter202202)

    Thank you for your feedbacks @asfarfordev, I’m already working on improving support for multi-site. ???♂?

    About your custom post type, could you tell me how you created them please ? By default only public available post types are automatically converted to markdown, from what I understand there might be an issue with hook priorities if post types are created via plugins.

    For the right to left language direction, it looks possible I’m making an upgrade. If you can wait a few more days I’ll do my best to publish a new release next week. ??

    Thank you for your patience

    Thread Starter asfarfordev

    (@asfarfordev)

    Hi thank you for reply

    i create the post type using Custom Post Type UI plugin

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Hi @asfarfordev,

    Sorry for the late reply I’ve been busy. I released 3.5.0 a few days ago that should bring to you the missing RTL feature. Please upgrade if you can and give a new try ?? If the edit screen is setup as right to left, then the RTL mode is automatically activated with the markdown editor. In case you need to reverse, from the settings screen (Settings -> Markup Markdown) you can add a LTR or RTL button to your toolbar for your writers to be able to toggle manually the direction.

    About your custom post type issue, I couldn’t reproduce the bug on my side.
    I published a quick tutorial here :
    https://www.markup-markdown.com/wordpress-tutorials/setting-custom-post-type/
    In short the markdown editor is only activated with public post types. In case your CPT are private, you can easily force to trigger the activation with the plugin CPT UI by adding markup_markdown value in the Custom "Supports" field as described on the following screenshot:

    If you are a more experienced developer, of course another solution would be to use a snippet with a different priority in your child’s theme or plugin like this one :

    add_action('init', function() {
      add_post_type_support('your_cpt_slug', 'markup_markdown');
    }, 11);

    Hope this helps. Kind regards,

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    @asfarfordev I haven’t heard from you for a while, so I’m gonna mark this topic as solved.
    Feel free to open a new one if need be. Thank you for your understanding.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.