sublime-evernote icon indicating copy to clipboard operation
sublime-evernote copied to clipboard

Support to generate readonly notes

Open synckey opened this issue 10 years ago • 3 comments
trafficstars

Hi, Currently SublimeEvernote will create an editable evernote note.After editing on the evernote app,SublimeEvernote can not reconstruct the raw markdown format of the note.Losing the format is boring. And evernote supports to create readonly notes,I think it will be very useful to add a config to control if to create read only notes.Meanwhile the notes can only be edited by SublimeEvernote which will ensure that the raw format will not be damaged. The description of creating readonly notes:https://dev.evernote.com/doc/articles/read_only_notes.php Many Thanks.

synckey avatar Apr 18 '15 04:04 synckey

@synckey This is a great idea! Added to the roadmap. Planned implementation:

  • a new setting set_content_class (or other names like create_read_only or protect_created_notes)
  • corresponding parameter in commands (?)
  • maybe a command to set/unset the contentClass when it's the plugin's one.

The string saved in the contentClass could be sublime.evernote.VERSION

bordaigorl avatar Apr 18 '15 09:04 bordaigorl

maybe in metadata as a field ?

wozzup avatar Apr 20 '16 04:04 wozzup

I have opened a pull request(https://github.com/bordaigorl/sublime-evernote/pull/206) to support for readonly notes, it is realized by adding a new metadata named readonly.

When its value is True, the note would be readonly, or it would be editable. It is flexible to use.

GitXin avatar May 28 '18 14:05 GitXin