Changing online HTML Editor to add P tags instead of BRs and DIVs
To replace <div> & <br> while using Innovate HTML Editor in V7.
1. Open admin\admin$db.asp
2. Locate routine function addHTMLEditor.
3. To add these lines, below oEdit_<%=fieldname%>.useTab = false;
//700 - 2010.06.29 - Enhancement: To make html editor to use <p> as default
oEdit_<%=fieldname%>.useDIV=false;
oEdit_<%=fieldname%>.useBR=false;
4. Save & test.
If using an earlier release open shop$db.asp and locate this code.
Times Viewed:
613 |
Added By:
Cam Flanigan |
Date Created:
6/30/2010 |
Last Updated:
6/30/2010 |
|