• Resolved erik777

    (@erik777)


    Post Markdown File Path dialog broken. You have two radial buttons. The text option woks. But, the first option for URL import is broken as there is nowhere to enter the URL. You can see it spits out HTML in the dialog, suggesting an HTML syntax error.

    Mode value=”url” checked> URL > Text

    Dialog

    When I view source in the browser, you can see that your PHP to set the value is not being processed.

    <td>
    <label>
    <input class=”js-mode-button” type=”radio” name=”mytory_md_mode”
    <?= $md_mode == ‘url’ ? ‘checked’ : ” ?> value=”url” checked> URL
    </label>
    <label>
    <input class=”js-mode-button” type=”radio” name=”mytory_md_mode” value=”text”
    <?= $md_mode == ‘text’ ? ‘checked’ : ” ?>> Text
    </label>
    </td>

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

    (@erik777)

    If I remove the scriptlet to set the default ‘checked’ value from meta-box.php, the URL option works great! Not sure why this isn’t handling the PHP.

    Plugin Author An, Hyeong-woo

    (@mytory)

    Thank you for your review.

    I fixed the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Dialog broken’ is closed to new replies.