Closed Konzeptcode closed 5 years ago
Hi, is it possible to disable the
?
Current: <div>dfgsdgfsg</div><div>bvxdgbydipoj<b>dübj</b>d</div><div>cvnbcncvncvncv</div>
<div>dfgsdgfsg</div><div>bvxdgbydipoj<b>dübj</b>d</div><div>cvnbcncvncvncv</div>
Aiming: <p>dfgsdgfsg</p><p>bvxdgbydipoj<b>dübj</b>d</p><p>cvnbcncvncvncv</p>
<p>dfgsdgfsg</p><p>bvxdgbydipoj<b>dübj</b>d</p><p>cvnbcncvncvncv</p>
you can do it by specifying paragraphSeparator config.
paragraphSeparator
Sample code
import wysiwyg from "vue-wysiwyg"; Vue.use(wysiwyg, {paragraphSeparator: 'p'});
It works, but first stroke of handle input text have not wrap. Only next paragraphs start to wrap, first - not!
Hi, is it possible to disable the
?
Current:
<div>dfgsdgfsg</div><div>bvxdgbydipoj<b>dübj</b>d</div><div>cvnbcncvncvncv</div>
Aiming:
<p>dfgsdgfsg</p><p>bvxdgbydipoj<b>dübj</b>d</p><p>cvnbcncvncvncv</p>
you can do it by specifying
paragraphSeparator
config.Sample code
It works, but first stroke of handle input text have not wrap. Only next paragraphs start to wrap, first - not!