Advanced HTML Editor 3 Support Product Page

Solved

EDITOR 3.5.0: FONT SIZE CHANGE/EDIT DOESN'T WORK CORRECTLY ON SELECTED TEXT.

Reported 20 Dec 2013 18:06:43
1
has this problem
20 Dec 2013 18:06:43 Peter Piper posted:
I just purchased the Advanced HTML Editor 3 (ver 3.5.0) and just about everything works except there is one significant issue with it: When selecting text and then clicking on a Font -size from the Font-size dropdown to change the size of the text, inconsistent and strange behavior results with the size of the text. Here's an example that shows what's going on:

1 - When the editor first appears with no text entered, it shows "12px" as the default in the FONT SIZE dropdown and looking at the raw HTML in code-view shows <p></p> for an empty page.
2 - When entering text, for example, "THIS IS SOME TEXT" (without the quotations) into the editor, the raw HTML in code-view shows:

<p>THIS IS SOME TEXT​</p>

3 - Now, when selecting (highlighting) just one word , for example, "SOME", and then clicking on the FONT SIZE dropdown and selecting the largest size 28px, the word "SOME" is not set to 28px but something smaller.
4 - Looking at the raw HTML in code-view shows:

<p>THIS IS <span style="font-size: medium;">SOME</span> TEXT​</p>

As you can see in the above raw HTML the font-size property shows "medium" instead of 28px.

Clearly that result is not correct. What's especially bad is that sometimes it works but most of the time it does not. And to make matters worse, it frequently changes the entire sentence or block of text as opposed to just the text that was selected or highlighted.

I am using the Chrome browser, latest version (on Windows) and I so thought this might be a browser-related issue: I tried it on two other browsers, Firefox (latest version), and both IE 9 and IE 11 and get the exact same erratic and incorrect results when selecting and changing font sizes. Has anyone experienced this?

It's a real shame this very basic feature of the Editor does not work correctly. Changing font size on selected text is basic to any editor so it's remarkable this latest version has such a glaring flaw. I'd consider this bug a major FLAW that should be addressed without delay and I'm sure that most purchasers of the editor will not be able to use it for their clients with such a flaw. I can provide a link to my editor test page if requested.
Please advise ASAP. Thanks

Replies

Replied 06 Jan 2014 20:30:02
06 Jan 2014 20:30:02 Teodor Kuduschiev replied:
Hello,
We are currently looking into this issue. You will be notified as soon as we have any news.
Replied 07 Jan 2014 10:52:00
07 Jan 2014 10:52:00 Teodor Kuduschiev replied:
Please check your email - i sent you an updated version of the editor that fixes this issue.
Replied 07 Jan 2014 23:41:41
07 Jan 2014 23:41:41 Peter Piper replied:
Thanks Teodor for this update, I appreciate the very fast response for this issue from yourself and DMXZone. While I was hoping to say the 3.5.1 update finally resolved it, it seems it has not. So as before, I will provide step-by-step results of what I did to install the updated extension and to illustrate the results:

First: before installing version 3.5.1 a) I removed the previous version 3.5.0 from my Dreamweaver CS3, then closed Dreamweaver. b) Then I deleted the cache file for Dreamweaver per the instructions from DMXZone (www.dmxzone.com/go/16740/clearing-dreamweaver-s-cache/) just to be sure that the old cache would not cause any issues. C) Next, I installed the new 3.5.1 version you sent to me, restarted Dreamweaver, registered it as usual, then closed Dreamweaver, then restarted it for actual use. I had no install issues and the extension manager shows the updated extension as 3.5.1.

Again, as before, I'm using the latest Chrome browser version 31.0.1650.63 m (on Windows VISTA 64-bit, SP2). My local development machine has Vista Ultimate SP2, runs IIS7, and my remote/ISP runs IIS6/Windows Server 2003 Enterprise.

Here are my basic editor settings:
Skin = default
Language = Auto
Enter Handling: BR Tag
Focus on page load = yes
Filter All Scripts = no
Make XHTML Compliant = no
Link Handling = Relative
Custom CSS File = CustomFontSizes.css
All editor buttons are using the defaults.
I have the File-Manager and Image Gallery Add-Ins assigned (all work perfectly)

I get the exact same result whether it's my local Vista machine (with IIS7), or my ISP with IIS6) and testing using the latest versions for Chrome, Firefox, Safari, and IE11.

PART I

1 - I entered the following text into the blank editor:

THIS IS SOME TEXT.

2 - When I look at the HTML using Code View of the editor it shows:

<p>THIS IS SOME TEXT​</p>

3 - Returning the editor to normal view and highlighting the word SOME, then selecting 28px from the font drop-down the font is correctly sized to 28px and the HTML from Code View shows:

<p>THIS IS <font style="font-size: 28px;">SOME</font> TEXT​</p>

4 - Now, returning back to normal view in the editor and highlighting the word THIS, then selecting 9px from the font drop-down alters the entire "THIS IS SOME TEXT" rather than just the word "THIS"... looking at the HTML in Code View shows:

<p><font style="font-size: 9px;">THIS</font> IS <font style="font-size: 9px;">SOME</font> TEXT​
</p>

As you can see in the above, the word "SOME" which from step 3 above correctly showed 28px, has now been reduced to the same font size I selected for the single word "THIS".

PART II

Now, assigned to the editor I have included a custom CSS file with graduated font sizes from 8px up to 48 px, and will show you what happens when I use it with the same words and letters as before:

1 - Again, starting with the words THIS IS SOME TEXT, looking in Code View shows:

<p>THIS IS SOME TEXT</p>

2 - Highlighting the word SOME and selecting from the Custom CSS drop-down 48px, the word SOME changes to the correct size and looking at the HTML in Code View shows:

<p>THIS IS <span class="_48px">SOME</span> TEXT</p>

3 - Now, as before, highlighting the single word THIS, and applying 8px from the Custom CSS drop-down changes the size of the word correctly and shows the following in Code-View:

<p><span class="_8px">THIS</span> IS <span class="_48px">SOME</span> TEXT</p>

So far, the changes to the font sizes using the Custom CSS are working.

4 - Going a step further and highlighting a single letter, "M" in the word SOME, which was previously showing up correctly as 48px, and selecting from my Custom CSS 26px correctly changes just the letter "M", the remaining letters s, o, and e, in the word remain at 48px - as they should. In addition, the remaining words in the sentence are not altered which is as it should be. Again, looking at the HTML in Code View shows:

<p><span class="_8px">THIS</span> IS <span class="_48px">SO<span class="_26px">M</span>E</span> TEXT
</p>

The FONT size change when applied, uses a style tag around the selected text, while the custom CSS uses a SPAN tag with the class from the custom CSS file. Now I have been using my workaround (custom CSS file with graduated font sizes) and it appears to work perfectly in just about every situation (but this is not acceptable for a client who is expecting to use FONT size). So based, on my tests, the FONT size drop-down still does not work correctly it would seem, even after removing the old extension, clearing the Dreamweaver cache and installing the newer version. Please advise - thanks.

UPDATE LATE EVENING 1-7-2014:
I now notice, after closing down the local Vista machine and rebooting, that while I am able to add the updated 3.5.1. Editor to a page, when the page is viewed in Chrome, it appears normal, but none of the editor buttons work. When viewing the same page with Firefox the editor's buttons work. I even tried uninstalling 3.5.1 and re installing but get the exact same results, none of the buttons on the editor works when using Chrome. This is really strange and I hope deleting the Dreamweaver cache file did not cause this issue. I then proceeded to uninstall 3.5.1 and re install 3.5.0 and get the same results. I am going to reboot the system one more time and see what the results are and will report back.

UPDATE 2 - 1-7-2014
I have rebooted the local Vista system and retested the page with the old 3.5.0. editor on it using the latest Chrome browser: None of the buttons work when they are clicked. Displaying the same page using Firefox and the editor works as expected.
It would seem that updating to the 3.5.1 version changed some other files, but re-installing the 3.5.0 version does not matter in that the editor buttons still do not work. This is really strange. I can live with the older 3.5.0 editor and use the Custom CSS to set font sizes, but it must work in Chrome. Please advise ASAP. If you need a link to a page to see let me know.
Replied 08 Jan 2014 10:13:29
08 Jan 2014 10:13:29 Teodor Kuduschiev replied:
Hi Peter,

Can you please provide a link to your page where i can check the issues? Please send it to my email:

Reply to this topic