javascript - How to add attributes to default paragraph? -


i'm working web server responsible reading content present in editing area of ckeditor. need every paragraph created user contain class , specific id. so, when created, paragraph should contain following format:

<p class="paragraph" id="10001">this content.</p> 

how can modify default ckeditor paragraph format contains such attributes? not need formats drop box. want change default ckeditor paragraph format.

thanks in advance.


Comments