setting <P> as newline tag in umbraco7 tinymce -


i've run issue rich text editor in umbraco enters <br> on every press of enter. in older version <p> tag. want change behaviour of tinymce editor in umbraco7. i've tried various options : 1) setting following in tinymceconfig.config

<customconfig>     <config key="force_br_newlines">false</config>     <config key="force_p_newlines">true</config>                </customconfig> 

2) edited tinymce.min.js located @ /umbraco/lib/tinymce/tinymce.min.js

but had no effect , still <br> on pressing enter in rich text editor.

has 1 run similar issue before , found solution control in umbraco 7?

assuming using tinymce 4 setting want called forced_root_block:

https://www.tinymce.com/docs/configure/content-filtering/#forced_root_block

the appropriate value setting not true or false string containing block element use. example:

forced_root_block : 'p'  

you have ask familiarity umbraco exact format use in configuration file.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -