Can't write "space" char as a last char in a line if Built-in Preview opened

WebStorm trims any last space(s) in the line when Built-In Preview is opened, which makes impossible to write normal text or css (like .class .inner-element)
Once Preview is closed WS is back to normal.

See the attached video for more details.

Upload id: 2021_04_09_NpXcbB39apCwdjwL (file: m6E8zMPu9G.mp4)

0
2 comments

The built-in preview auto-saves files for hot reloading. What On Save/Remove trailing spaces on is set to in Settings | Editor | General?

0

Yep, Remove trailing spaces on is checked and set to "All lines"
Ok, now I understand where it comes from, but I still find current behaviour unexpected.

Thank you for your support. Question solved.
Kind regards.

0

Please sign in to leave a comment.