-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.3
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.4 S2
-
None
Steps to Reproduce
Run fiddle
http://zkfiddle.org/sample/vrqjkl/1-tbeditor-p-element-style-receive-margin-from-browser
Enter text in the editor.
Press enter to skip a line.
The editor adds a <p> </p> around the input.
Actual Result
<p> margin is retrieved from the browser's default stylesheet, which cause the line to jump down.
Expected Result
line should not jump down
Debug Info
http://alex-d.github.io/Trumbowyg/
Trumbowyg demo uses :
#demonstration .trumbowyg p { margin: 0 0 32px; }
Root Cause
Workaround
<style> .z-tbeditor-editor p { margin: 0 0 1em; } </style>