| Configuring how the editor uses line breaks (P, BR or DIV)? |
|
| Written by Paul (Team Member) |
| Tuesday, 31 May 2011 09:38 |
|
Changing the "Enter Mode" P, BR, DIV elements. To change this please login to the backend of your site and visit ‘Extensions’ (which is in the top navigation menu) and navigate down to the ‘Plug-in Manager’ menu item. In the Plug-in Manager use the ‘Filter’ to locate the 'JoomlaCK' plug-in and then click on the 'Plugin Name' to edit and open up into a screen-called ‘Plugin: [Edit]’. On the right hand-side you will notice a list of parameters. Navigate down to the 'Enter Mode' and 'Shift Enter Mode’ and click on the drop down combo box to change the element.
Lastly click on 'Save' to save the new settings - job done! How it works. In html you can only apply a CSS style to a container whether that be: p, div tag etc… Therefore when you select a piece of text the editor is required to apply the style to a suitable container. However, if the behavior of the container has not been defined (e.g. .text4) it will revert to a default p tag. If a suitable p container has not been defined the editor must create one which will create a new paragraph. |
| Last Updated on Thursday, 22 September 2011 12:11 |


You can configure the editor to use P, BR or DIV tags to insert a new line break (which means the text/image following the tag will be moved to the next line when displayed in the browser). This is done by changing how the editor’s interprets the ‘Enter’ and ‘Shift Enter’ keys...