Advanced HTML Editor 3 Support Product Page
Answered
Choice of br break method not working
Asked 19 Mar 2013 09:29:20
1
has this question
19 Mar 2013 09:29:20 Tim Pollard posted:
HiI'm using this extension for the first time and so started off with the defaults for most options. I rapidly found that the extension's default use of <p> tags to create breaks was messing up my formatting, so I researched it on this forum and found posts about setting Enter Handling to Br tag instead of p.
The code suggests this has translated through onto the page. Here's my text area code:
<textarea id="BlogTxt" name="BlogTxt" class="dmxEditor" style="width:500px;height:300px"></textarea>
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(
function()
{
jQuery("#BlogTxt".dmxEditor(
{"width": 500, "lineBreak": "br", "iconSet": "modern", "toolbars": {"Text": {"items": {"strikethrough": false, "subscript": false, "superscript": false}}, "Table": {"enabled": false}, "Search": {"enabled": false}, "Font": {"enabled": false}, "Style": {"enabled": false}, "Common": {"enabled": false}}}
);
}
);
// ]]>
</script>
Linebreak seems to be set to br
I've uploaded the new page, re-uploaded all the scriptlibrary files, but what I am getting in my SS2008 db is still with <p> tags. Here's a sample:
<p>I'm pleased to say that the jams around the road works in Addington Road are <u>much</u> reduced this morning. Whether this is due to the manual control which is operating today or people scarred by yesterday's experience taking other routes I don't know.
</p>
<p>We will be pressing to have the works concluded swiftly so that everything can get back to normal.</p>
What am I doing wrong please?
Thanks in advance for any support.
Replies
Replied 21 Mar 2013 09:50:49
21 Mar 2013 09:50:49 Miroslav Zografski replied:
Hello Tim,
Which version of AHE you are using? Which browser you use?Do you observe this behaviour in other browsers? What server side language and database you use?
Regards.
Which version of AHE you are using? Which browser you use?Do you observe this behaviour in other browsers? What server side language and database you use?
Regards.
Replied 21 Mar 2013 10:03:25
21 Mar 2013 10:03:25 Tim Pollard replied:
Hi
It was downloaded two days ago so I'm pretty sure it's the latest version. The mxp file is 333.
In terms of browser for testing I am using IE9 on W7Pro and Safari 6.0.3 Mac. Perhaps the variability is down to the browser?
Server side language is Classic ASP, db is SS2008.
To be honest I'm more concerned to fix the validation problem as this is a serious issue for me. Without validating content I have the risk of blank posts (my users are very non-technical.....). The <p> tags are irritating but not critical.
It was downloaded two days ago so I'm pretty sure it's the latest version. The mxp file is 333.
In terms of browser for testing I am using IE9 on W7Pro and Safari 6.0.3 Mac. Perhaps the variability is down to the browser?
Server side language is Classic ASP, db is SS2008.
To be honest I'm more concerned to fix the validation problem as this is a serious issue for me. Without validating content I have the risk of blank posts (my users are very non-technical.....). The <p> tags are irritating but not critical.