Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
AM 2 Editor Messing with my Code!!!

 

 


BillG
User

Apr 23, 2008, 4:06 PM

Post #1 of 8 (749 views)
Shortcut
AM 2 Editor Messing with my Code!!! Can't Post

The Article Manager 2 editor is messing with my code and I wish it would stop.

For example, I took an existing article and wrapped it in DIV tags as such:

<div style="text-align: justify">
[existing code article is here]
</div>


and then saved the article. But then when I went back to edit the article later, the DIV tags were gone and instead I saw that style="text-align:justify" was added to all my <p>, <li>, etc. tags.

I'd prefer to use my own code, thank you, and not have AM rudely reformat it for me. PLEASE, somebody tell me if there is an option to prevent the AM editor from reformatting my code like this?


(This post was edited by BillG on Apr 23, 2008, 11:41 PM)


BillG
User

Apr 23, 2008, 5:58 PM

Post #2 of 8 (744 views)
Shortcut
Re: AM 2 Editor Messing with my Code!!! [In reply to] Can't Post

One other thing - when bolding, instead of applying the <B> tag, the editor applies the outdated <STRONG> tag. More code bloat.


Jake
Staff / Moderator


Apr 23, 2008, 8:28 PM

Post #3 of 8 (741 views)
Shortcut
Re: [BillG] AM 2 Editor Messing with my Code!!! [In reply to] Can't Post

Hi BillG,

The Article Manager 2 editor is a third-party product, so we're not able to support changing its operation. If you'd like, we can send you the documentation for this editor which may be able to explain how to alter some of this behaviour.

An alternative would be to use a plain text box field instead - obviously you won't have access to any of the WYSIWYG functions, but if you aren't using these this would be the best course of action as any code entered in through a plain text box will not be modified.

If you'd like a copy of that manual, submit a request for this using our second level support option here:

http://www.interactivetools.com/support/

Don't hesitate to contact us. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.



Dave
Staff / Moderator


Apr 23, 2008, 10:49 PM

Post #4 of 8 (740 views)
Shortcut
Re: [BillG] AM 2 Editor Messing with my Code!!! [In reply to] Can't Post

Hi BillG,

Could the problem be the missing quote at then end of the style attribute?


Code
<div style="text-align: justify>  
^


Try adding that quote and see if it makes a difference.

Dave Edis - Senior Developer
interactivetools.com


BillG
User

Apr 23, 2008, 11:44 PM

Post #5 of 8 (737 views)
Shortcut
Re: [Dave] AM 2 Editor Messing with my Code!!! [In reply to] Can't Post

The missing quote in my original post was a typo in my post - I just re-edited it. But still, that wouldn't cause a complete reformatting of my code!


(This post was edited by BillG on Apr 24, 2008, 9:00 AM)


Dave
Staff / Moderator


Apr 24, 2008, 9:28 AM

Post #6 of 8 (716 views)
Shortcut
Re: [BillG] AM 2 Editor Messing with my Code!!! [In reply to] Can't Post

I tried a few times and wasn't able to reproduce it locally. Can you send some steps to reproduce with some sample html code that I can wrap in <div style="text-align: justify"> to create the error?

Another option would be to use a plain text field and enter HTML directly rather than using the wysiwyg's.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com


BillG
User

Apr 24, 2008, 10:00 AM

Post #7 of 8 (711 views)
Shortcut
Re: [Dave] AM 2 Editor Messing with my Code!!! [In reply to] Can't Post

A plain text field editor is blatantly unacceptable. It's silly to even suggest it. I may as well go back to AM1 if that's the case. Or at least use HTML Area.

From what I can see from Innova's website, the editor is SPECIFICALLY DESIGNED to work like this. I'm dissapointed that Interactivetools doesn't even know that.

I *might* have found a solution. The file editor.js contains a JavaScript function called cleanDeprecated(). I barely know JavaScript, and I can't really write a script, but the purpose of this function seems to be to go through the edited text and, amongst other things, replace certain HTML tags with CSS.

By commenting out everything except return: true; the editor no longer reformats my code. But there are some things I don't understand, so I'd still like to see the documentation on this editor.

Whatever happened to HTMLArea? You guys knew that with an almost intuitive sense. With the new Innova editor, you guys act like you've never even bothered to look at the code!


Dave
Staff / Moderator


Apr 24, 2008, 10:17 AM

Post #8 of 8 (702 views)
Shortcut
Re: [BillG] AM 2 Editor Messing with my Code!!! [In reply to] Can't Post

Sounds like you're on your way. I've attached the documentation as a reference.

Hope that helps.

Dave Edis - Senior Developer
interactivetools.com
Attachments: innova_documentation.zip (225 KB)

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4