Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Also rerender when stripping trailing br. #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lperrin
Copy link

@lperrin lperrin commented Sep 16, 2014

The current code does not rerender in this case. Because of that, you can leave trailing
in the DOM (even if the ng-model is clean). This is a problem for me since I rely on the contenteditable being empty to display the placeholder:

[contenteditable]:empty::before {
  content: attr(placeholder);
}

The current code does not rerender in this case. Because of that, you can leave trailing <br> in the DOM (even if the ng-model is clean). This is a problem for me since I rely on the contenteditable being empty to display the placeholder:

```css
[contenteditable]:empty::before {
  content: attr(placeholder);
}
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant