-
Notifications
You must be signed in to change notification settings - Fork 152
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
List items can be enabled, removed based on selections #186
Milestone
Comments
bantic
added a commit
that referenced
this issue
Dec 3, 2015
* deprecated `changeSectionTagName` in favor of `toggleSection` -- should it be named `toggleSections`? * join contiguous list sections -- when a section adjacent to a list section is removed, the postEditor will scan for and join contiguous list sections in the before_complete queue * put cursor position at start of changed range -- the end of the range is not stable (it can move around when joinin contiguous lists or when the toggle changes the last section to/from a list item) so it is quite difficult to select the entire range after the toggle. * remove unused `splitAtListItem`, `splitIntoSections` methods on ListSection, ListItem * add `MarkupSection.isMarkupSection` property * add Section `canJoin`, `join` methods * add test to ensure toggling while on a card section is a no-op fixes #186
bantic
added a commit
that referenced
this issue
Dec 3, 2015
* marked `changeSectionTagName` private in favor of `toggleSection`. 'ember-mobiledoc-editor' uses `changeSectionTagName` so it will need to be updated * join contiguous list sections -- when a section adjacent to a list section is removed, the postEditor will scan for and join contiguous list sections in the before_complete queue * put cursor position at start of changed range -- the end of the range is not stable (it can move around when joinin contiguous lists or when the toggle changes the last section to/from a list item) so it is quite difficult to select the entire range after the toggle. * remove unused `splitAtListItem`, `splitIntoSections` methods on ListSection, ListItem * add `MarkupSection.isMarkupSection` property * add Section `canJoin`, `join` methods * add test to ensure toggling while on a card section is a no-op fixes #186
bantic
added a commit
that referenced
this issue
Dec 3, 2015
* marked `changeSectionTagName` private in favor of `toggleSection`. 'ember-mobiledoc-editor' uses `changeSectionTagName` so it will need to be updated * join contiguous list sections -- when a section adjacent to a list section is removed, the postEditor will scan for and join contiguous list sections in the before_complete queue * put cursor position at start of changed range -- the end of the range is not stable (it can move around when joinin contiguous lists or when the toggle changes the last section to/from a list item) so it is quite difficult to select the entire range after the toggle. * remove unused `splitAtListItem`, `splitIntoSections` methods on ListSection, ListItem * add `MarkupSection.isMarkupSection` property * add Section `canJoin`, `join` methods * add test to ensure toggling while on a card section is a no-op fixes #186
bantic
added a commit
that referenced
this issue
Dec 7, 2015
* marked `changeSectionTagName` private in favor of `toggleSection`. 'ember-mobiledoc-editor' uses `changeSectionTagName` so it will need to be updated * join contiguous list sections -- when a section adjacent to a list section is removed, the postEditor will scan for and join contiguous list sections in the before_complete queue * put cursor position at start of changed range -- the end of the range is not stable (it can move around when joinin contiguous lists or when the toggle changes the last section to/from a list item) so it is quite difficult to select the entire range after the toggle. * remove unused `splitAtListItem`, `splitIntoSections` methods on ListSection, ListItem * add `MarkupSection.isMarkupSection` property * add Section `canJoin`, `join` methods * add test to ensure toggling while on a card section is a no-op fixes #186
bantic
added a commit
that referenced
this issue
Dec 7, 2015
* marked `changeSectionTagName` private in favor of `toggleSection`. 'ember-mobiledoc-editor' uses `changeSectionTagName` so it will need to be updated * join contiguous list sections -- when a section adjacent to a list section is removed, the postEditor will scan for and join contiguous list sections in the before_complete queue * put cursor position at start of changed range -- the end of the range is not stable (it can move around when joinin contiguous lists or when the toggle changes the last section to/from a list item) so it is quite difficult to select the entire range after the toggle. * remove unused `splitAtListItem`, `splitIntoSections` methods on ListSection, ListItem * add `MarkupSection.isMarkupSection` property * add Section `canJoin`, `join` methods * add test to ensure toggling while on a card section is a no-op fixes #186
bantic
added a commit
that referenced
this issue
Dec 8, 2015
* marked `changeSectionTagName` private in favor of `toggleSection`. 'ember-mobiledoc-editor' uses `changeSectionTagName` so it will need to be updated * join contiguous list sections -- when a section adjacent to a list section is removed, the postEditor will scan for and join contiguous list sections in the before_complete queue * put cursor position at start of changed range -- the end of the range is not stable (it can move around when joinin contiguous lists or when the toggle changes the last section to/from a list item) so it is quite difficult to select the entire range after the toggle. * remove unused `splitAtListItem`, `splitIntoSections` methods on ListSection, ListItem * add `MarkupSection.isMarkupSection` property * add Section `canJoin`, `join` methods * add test to ensure toggling while on a card section is a no-op * Add editor#selectRange, postEditor#setRange APIs * Remove Cursor `moveToSection`, `selectSections`, `moveToPosition` * use `Cursor#selectRange` primarily, instead (called by `editor#selectRange`) * Add Range.fromSection convenience method * Remove `Editor#moveToPosition` (in favor of `selectRange`) fixes #186
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any list items currently under select should be toggleable.
A list item under cursor should remove list formatting when toggled
Content-Kit:
Google Docs:
Several selected sections should get list formatting when toggled, unless they already have it
Content-Kit:
Google Docs:
The text was updated successfully, but these errors were encountered: