Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 05-31-2015 00:08:59

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

WYSIWYG Editor Corrupts XHTML

Is there a better version of the WYSIWYG Editor? The current version corrupts xhtml escape encoding e.g.

If you have Microsoft® in some xhtml code loading it into the editor it becomes Microsoft®


Simon

Offline

 

#2 05-31-2015 11:57:43

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: WYSIWYG Editor Corrupts XHTML

The answer to my own question appears to be yes the is an update available at

http://premiumsoftware.net/cleditor/downloads


Simon

Offline

 

#3 06-01-2015 08:42:38

tguswell
Member
From: Plymouth, Devon
Registered: 07-31-2010
Posts: 128
Website

Re: WYSIWYG Editor Corrupts XHTML

Simon

Where would you place these updated files?

Thanks

Terry

Offline

 

#4 06-01-2015 08:46:42

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19951
Website

Re: WYSIWYG Editor Corrupts XHTML

In all honesty, I wouldn't use a WYSIWYG if you care at all about XHTML compliance.  It's easy enough to write basic HTML for descriptions and HTML pages.  The link referenced above is for cleditor, which we've removed from our forthcoming version 9 software.


Nick Hendler

Offline

 

#5 06-01-2015 08:50:22

tguswell
Member
From: Plymouth, Devon
Registered: 07-31-2010
Posts: 128
Website

Re: WYSIWYG Editor Corrupts XHTML

Okay, I'll continue to write html code by hand, when I'm getting lazy I've found Microsoft Expression Web v4 is easy to use (and free!). I then just cut and paste into the relevant documents.

Terry

Offline

 

#6 06-01-2015 10:02:49

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: WYSIWYG Editor Corrupts XHTML

I put them in media/cleditor but as Nick says, the update is not much better.

I mainly use it to just check if I have made a coding error but it does do some very silly formatting so I treat it with a great deal of caution.

I mainly use FrontPage for error checking but only have v2. I will upgrade it to v4 if it is free now.

Last edited by sdn (06-01-2015 14:08:48)


Simon

Offline

 

#7 06-01-2015 10:45:01

tguswell
Member
From: Plymouth, Devon
Registered: 07-31-2010
Posts: 128
Website

Re: WYSIWYG Editor Corrupts XHTML

Simon

You can find the free version

Terry

Offline

 

#8 06-01-2015 14:09:04

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: WYSIWYG Editor Corrupts XHTML

Thanks Terry


Simon

Offline

 

#9 06-02-2015 07:18:42

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19951
Website

Re: WYSIWYG Editor Corrupts XHTML

Please don't use frontpage.  If you want to check HTML and that's all you want to do, use the W3C validator.


Nick Hendler

Offline

 

#10 06-02-2015 08:27:43

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: WYSIWYG Editor Corrupts XHTML

I tried FP4 but remembered that I prefer FP2. I only use for checking html is valid and do not allow it to add any of its own styles, etc. Our pages validate OK with w3C apart from the 8 errors on all product pages relating to schema data like

"itemscope" is not a member of a group specified for any attribute, etc.

Is there any fix for this?

Can you recommend any other free html editors? Although I can hand code, it is easier to get some software assistance when you have thousands of pages to do.

Last edited by sdn (06-03-2015 14:48:38)


Simon

Offline

 

#11 06-04-2015 07:59:00

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19951
Website

Re: WYSIWYG Editor Corrupts XHTML

The itemscope issue is due to Rich Snippets.  Either turn Rich Snippets off (don't) or live with it (do).  Google wants the snippets to be transmitted as written.


Nick Hendler

Offline

 

#12 06-04-2015 09:47:04

zanart
Member
From: bedford
Registered: 04-02-2008
Posts: 1733

Re: WYSIWYG Editor Corrupts XHTML

see https://forum.kryptronic.com/viewtopic.php?id=30676 towards the end re the itemscope not validating


Rob

Offline

 

#13 06-05-2015 05:47:57

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19951
Website

Re: WYSIWYG Editor Corrupts XHTML

Thanks.  We've addressed this in dev.


Nick Hendler

Offline

 

#14 06-24-2015 06:35:42

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: WYSIWYG Editor Corrupts XHTML

Could you add a syntax highlighter like one of those listed at http://www.sitepoint.com/10-jquery-syntax-highlighters/ in place of CLEditor?

It would make editing easier without the risk of corrupting the code. Code highlighting is the main reason I use FP.

If you do not wish to add it how can I add myself? I see jslib.php and formfield_textareawysiwyg.php are involved. Are there any other files I need to look at?

Last edited by sdn (06-24-2015 07:50:55)


Simon

Offline

 

#15 06-25-2015 05:15:24

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19951
Website

Re: WYSIWYG Editor Corrupts XHTML

If you do not wish to add it how can I add myself? I see jslib.php and formfield_textareawysiwyg.php are involved. Are there any other files I need to look at?

{public}/media/scripts/backend.js has a wysiwyg loader function in it as well. Between the two files you mentioned and that one, that's all of them.


Nick Hendler

Offline

 

Board footer