Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to generate readonly notes #83

Open
synckey opened this issue Apr 18, 2015 · 3 comments
Open

Support to generate readonly notes #83

synckey opened this issue Apr 18, 2015 · 3 comments
Milestone

Comments

@synckey
Copy link

synckey commented Apr 18, 2015

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 synckey changed the title To support the generate readonly notes Support to generate readonly notes Apr 18, 2015
@bordaigorl
Copy link
Owner

@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 bordaigorl added this to the Version 2.6.1 milestone Apr 18, 2015
@bordaigorl bordaigorl modified the milestones: Version 3, Version 2.6.1 Nov 7, 2015
@wozzup
Copy link

wozzup commented Apr 20, 2016

maybe in metadata as a field ?

@GitXin
Copy link

GitXin commented May 28, 2018

I have opened a pull request(#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants