Action

Insert Tags as Hash Tags

Posted by sylumer, Last update about 3 years ago - Unlisted

Steps

  • script

    editor.setSelectedText(draft.tags.map(tag => "#" + tag).join(" "));
    
    //Plase cursor at end of inserted selection
    editor.setSelectedRange(editor.getSelectedRange()[0] + editor.getSelectedRange()[1], 0);

Options

  • After Success Default
    Notification Error
    Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.