Straighten Quotes

Posted by agiletortoise, Last update 30 days ago

Convert smart (slanted) quotes to straight quotes.


  • script

    // change quote type
    let s = editor.getSelectedText();
    s = s.replace("“", "\"");
    s = s.replace("”", "\"");
    s = s.replace("‘", "'");
    s = s.replace("’", "'");


  • After Success Nothing
    Notification Error
    Log Level Error
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.