-
Notifications
You must be signed in to change notification settings - Fork 150
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
mobiledoc with no content should render placeholder #125
Comments
bantic
added a commit
that referenced
this issue
Sep 14, 2015
* Rename Section methods semantically * add "simple-card" demo, with "remove" button * Clean up cursor detection and embedIntent * Add Position.emptyPosition and Range.emptyRange * allow mobiledoc to have 0 sections * add Post#isBlank * Add tests for typing in blank mobiledoc * Tests for removing the last item (e.g., card) in a mobiledoc * Ensure that replaceSection works when section is undefined fixes #125
bantic
added a commit
that referenced
this issue
Sep 14, 2015
* Rename Section methods semantically * add "simple-card" demo, with "remove" button * Clean up cursor detection and embedIntent * Add Position.emptyPosition and Range.emptyRange * allow mobiledoc to have 0 sections * add Post#isBlank * Add tests for typing in blank mobiledoc * Tests for removing the last item (e.g., card) in a mobiledoc * Ensure that replaceSection works when section is undefined * Add empty mobiledoc to demo fixes #125 #35 #71
bantic
added a commit
that referenced
this issue
Sep 14, 2015
* Rename Section methods semantically * add "simple-card" demo, with "remove" button * Clean up cursor detection and embedIntent * Add Position.emptyPosition and Range.emptyRange * allow mobiledoc to have 0 sections * add Post#isBlank * Add tests for typing in blank mobiledoc * Tests for removing the last item (e.g., card) in a mobiledoc * Ensure that replaceSection works when section is undefined * Add empty mobiledoc to demo fixes #125 #35 #71
bantic
added a commit
that referenced
this issue
Sep 14, 2015
* Rename Section methods semantically * add "simple-card" demo, with "remove" button * Clean up cursor detection and embedIntent * Add Position.emptyPosition and Range.emptyRange * allow mobiledoc to have 0 sections * add Post#isBlank * Add tests for typing in blank mobiledoc * Tests for removing the last item (e.g., card) in a mobiledoc * Ensure that replaceSection works when section is undefined * Add empty mobiledoc to demo fixes #125 #35 #71
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the mobiledoc has no sections, a placeholder element should be rendered. This prevents an issue when removing the final card from a mobiledoc that has no markup sections.
The text was updated successfully, but these errors were encountered: