You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pasting some text into the title field of the new editor any included styles are carried across.
Example:
Expected:
Steps to Reproduce
Copy some text that has a distinctive style (I used a title on wikipedia)
Paste it into the title field
Allowing styles to be carried across may cause some confusion as it looks like the styles will be saved but leaving then coming back to the post in the editor will revert to the unstyled version.
closesTryGhost/Ghost#8353
- if a user pastes or inserts HTML into the title in some other way (modifying the dom, having a plugin mutate the dom, etc) then strip the HTML and insure that the title is always unstyled and plain text
Issue Summary
When pasting some text into the title field of the new editor any included styles are carried across.
Example:
![screen shot 2017-04-18 at 16 16 39](https://cloud.githubusercontent.com/assets/415/25138472/7e342dde-2452-11e7-92d5-f011d9de1e63.png)
Expected:
![screen shot 2017-04-18 at 16 16 49](https://cloud.githubusercontent.com/assets/415/25138477/834f26d4-2452-11e7-8517-41f6de8cccd4.png)
Steps to Reproduce
Allowing styles to be carried across may cause some confusion as it looks like the styles will be saved but leaving then coming back to the post in the editor will revert to the unstyled version.
Technical details:
The text was updated successfully, but these errors were encountered: