How to configure CKEditor to enclose embedded assets using <div> and still use the <p> tags if a.enterMode=CKEDITOR.ENTER_P property is used ?

(Doc ID 2377233.1)

Last updated on APRIL 08, 2018

Applies to:

Oracle WebCenter Sites - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Goal

How to modify CKEditor so that when including embedded asset links, when pushing the "Enter" or other keyboard combination of keys it will enclose the embedded asset in <div> tags and not the default <p> tags if the a.enterMode=CKEDITOR.ENTER_P property is being used.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms