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

Export: Exclude parts/scenes from exported file #95

Open
mkoskim opened this issue Aug 6, 2023 · 0 comments
Open

Export: Exclude parts/scenes from exported file #95

mkoskim opened this issue Aug 6, 2023 · 0 comments

Comments

@mkoskim
Copy link
Owner

mkoskim commented Aug 6, 2023

Background

Basically, everything you write in your story body is about to be exported to draft. Basically you should not write something to body, that is not intended to be part of your draft.

Yes, basically. There are few exceptions to this rule, for example comment fields added to text.

And then there is eventually needs to export just part of your story. For example, you might want to export only certain new scenes or modified parts to your peer.

Draft solution

For that, it would be nice to exclude selected parts & scenes from export.

The simple way is to add checkbox to preview index entries to exclude that block from draft. Later we may improve the UI e.g. by making this checkbox floating, so that it only appears when hovering over the entry.

The information of exclusion can be saved to the document element itself:

  • Add handling of exclude field to load & save functions, similar way that folded attribute is handled
  • Add exclude field to editor buffer handling: include it to SlateJS element when converting doc to buffer and vice versa
@mkoskim mkoskim changed the title Exclude parts/scenes from exported file Export: Exclude parts/scenes from exported file Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant