-
Notifications
You must be signed in to change notification settings - Fork 151
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
Placeholder is ignored, editor renders __BLANK__
when initialised with no mobiledoc
#35
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 * 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
Initialising a new editor with no Mobiledoc option results in the editor showing
__BLANK__
:How I reproduced:
broccoli serve
to test the demodemo/demo.js
(or replace with something likeplaceholder: 'my custom placeholder'
)__BLANK__
marker shown in the editor rather than a placeholder.This was introduced in 0.2.2, in 0.2.1 the placeholder appears.
The text was updated successfully, but these errors were encountered: