Try our conversational search powered by Generative AI!

Paragraph - Editor mode

Vote:
 

I wanto to remove the tag <P> when a user press Enter in Editor mode.

I tried with EPnEditorValueOptions/ParagraphIsDiv in web.config but it doesn't work.

 
<appSettings> 
   <add key="EPnEditorValueOptions" value="2" />
 
Any suggestion ?
#34082
Oct 28, 2009 11:12
Vote:
 

I tried:

- Admin Mode -> Config - > System Settings - > Editing - > Use DIV in Editor instead of P

But i doesn't work

#34875
Nov 19, 2009 10:59
Vote:
 

Hi

Changing "Admin Mode -> Config - > System Settings - > Editing - > Use DIV in Editor instead of P" should make the editor use div-tags instead of p-tags when the user hits enter.

However, if the page is an old one where there already is content that uses p-tags in the editor, p-tags will still be used for that specific editor. But if you create a new page, or clear all the old content from the editor, div-tags should be used.

Regards

Per Gunsarfs
EPiServer development team

#34896
Nov 19, 2009 16:39
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.