htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0 - Add-Ons:
See the ultimate Word cleaner. Amazing!!


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

First page Previous page 1 2 3 4 5 6 7 Next page Last page  View All


geroreilly
Novice

Sep 18, 2003, 2:48 AM

Post #101 of 169 (6735 views)
Shortcut
Re: [Luis] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post

Luis,

Thanks for all your help. Yes your "fix" worked and Users can now add internal hyperlinks within a page using anchors. Thank you very very much for all the effort and patience you have shown me. It is truelly appreciated. I am more and more AMAZED (as your post title goes) with how much can be achieved through an open forum like this. Thanks again. Sorry for delay in thanking you but users were so excited with the edtor that I have spent most of my time dealing with real "user" problems!!!!!! Its a nice change from code problems..... at least there are some funny stories!


Luis
Veteran

Sep 18, 2003, 11:43 AM

Post #102 of 169 (6724 views)
Shortcut
Re: [geroreilly] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post

Hi Geroreilly:

Nice to hear of you. Welcome back.


Don't give up!!
http://webstationone.com/test/htmlarea


tcamos
Novice

Oct 6, 2003, 2:34 PM

Post #103 of 169 (6594 views)
Shortcut
Post deleted by tcamos [In reply to]

 


Luis
Veteran

Oct 6, 2003, 3:38 PM

Post #104 of 169 (6582 views)
Shortcut
Re: [tcamos] I need the amazing word cleaner! [In reply to] Can't Post

Hi Tcamos:

Your post came without attachment. Attach it and I'll gladly do it for you.

Greetings


Don't give up!!
http://webstationone.com/test/htmlarea


tcamos
Novice

Oct 6, 2003, 4:29 PM

Post #105 of 169 (6576 views)
Shortcut
Post deleted by tcamos [In reply to]

 


Luis
Veteran

Oct 7, 2003, 9:37 PM

Post #106 of 169 (6540 views)
Shortcut
Re: [tcamos] I need the amazing word cleaner! [In reply to] Can't Post

Hi tcamos:

Here it goes.

greetings.


Don't give up!!
http://webstationone.com/test/htmlarea
Attachments: editor_tcamos.js (58.2 KB)


tcamos
Novice

Oct 8, 2003, 8:48 AM

Post #107 of 169 (6528 views)
Shortcut
Post deleted by tcamos [In reply to]

 


Luis
Veteran

Oct 9, 2003, 2:10 AM

Post #108 of 169 (6501 views)
Shortcut
Re: [tcamos] I need the amazing word cleaner! [In reply to] Can't Post

Hi tcamos:


Added:
function myclean(editdoc)
function cleanHTML(unclean)
function cleanEmptyTag(oElem)
function cleanTable(oElem)
else if (cmdID.toLowerCase() == 'paste')

Replaced:
function editor_event(objname,runDelay)
to add control for CTRL+V and SHIFT+INS and correct and old bug from the original download.

Make a search for myclean and cleanHTML to see where the functions are called.

The mod takes care of the paste button in the editor, CTRL+V and SHIFT+INS.
It doesn't take care of pasting from Context Menu, (mouse right click) nor of the paste button in the browser.

You can cancel the right click functions or add your own context menus, but you cannot cancel the browser's buttons.
If you need help on cancelling the right click options, post me back.

Greetings


Don't give up!!
http://webstationone.com/test/htmlarea


ajones
Novice

Oct 9, 2003, 10:19 AM

Post #109 of 169 (6481 views)
Shortcut
Re: [Luis] I need the amazing word cleaner! [In reply to] Can't Post

Ok..I know this has been discussed a great deal, but given my attached editor.js file, what do i need to include to clean MS Word special characters (strip them out) There are so many posts and versions, I don't know what the latest is.

THanks so much!


Luis
Veteran

Oct 9, 2003, 10:01 PM

Post #110 of 169 (6473 views)
Shortcut
Re: [ajones] I need the amazing word cleaner! [In reply to] Can't Post

Your post came without attachment. Attach it and I'll gladly do it for you.

Greetings


Don't give up!!
http://webstationone.com/test/htmlarea


ajones
Novice

Oct 13, 2003, 10:19 AM

Post #111 of 169 (6443 views)
Shortcut
Re: [Luis] I need the amazing word cleaner! [In reply to] Can't Post

Luis,

Thanks. I think the word cleaner now works with the version I've attached here, but it won't work when I right click in the text area and paste. It does work when I use a Ctl-V. Any help is greatly appreciated.

-Anthony
Attachments: editor.js (55.2 KB)


Luis
Veteran

Oct 13, 2003, 9:40 PM

Post #112 of 169 (6425 views)
Shortcut
Re: [ajones] I need the amazing word cleaner! [In reply to] Can't Post

Hi Ajones:

To make it work with the right click menu, you will need to add custom context menus. Although the functionality is already made, to implement it is quite complicated. If you want to do so, prepare with a can of aspirins and wait a few days. I'm going to post a new version that works in multiple instances, hopefully this week. If in the meantime you want to prevent the user to paste unclean code using the right click menu, you can just cancel it, adding this code in line 834 of your editor:

+ ' oncontextmenu="return false;"'

I hope this be of help.


Don't give up!!
http://webstationone.com/test/htmlarea


ralof
Novice

Oct 21, 2003, 9:51 AM

Post #113 of 169 (6262 views)
Shortcut
Re: [Luis] I need the amazing word cleaner! [In reply to] Can't Post

Hi, I have read the entire thread but I might have missed something important, but this is how I understand that the cleaner works:
  • I cleans while or before the paste operation
  • It cleans the Word specific tags and styles


What I would like is a trigger that checks the code on the onpaste event and just informs the user that there is formatting included that they might want to remove (y/n).

I would also like to have the buttons:
  • "Remove all font & size information"
  • "Remove all style attributes"
  • "remove all class attributes"


In short, I would like to have a javascript function like:
cleanHTML(editor, 'font');
cleanHTML(editor, 'class');
cleanHTML(editor, 'msoffice');


As a webmaster I could then for instance force a cleanHTML(editor, 'font') & cleanHTML(editor, 'msoffice') when the content is saved, or the user can do it while editing, or they can be called automatically onpaste.

Would that not be a quite flexible and nice solution? Adding more cleantypes in cleanHTML(editor,cleanType) would also be quite easy?




Luis
Veteran

Oct 21, 2003, 12:06 PM

Post #114 of 169 (6242 views)
Shortcut
Re: [ralof] I need the amazing word cleaner! [In reply to] Can't Post

Hi Ralof:

My htmlArea is intended to be used by people with null knowledge on HTML in the first place. They hardly will know what a class or a span is (I bet 1 in 1000). Why ask somebody if they want to perform an operation that I'm sure they don't know what it means?

As a webmaster, my work is to prepare my htmlArea to render the results I want according to every specific site and I'll never use htmlArea to design my own websites. htmlArea is intended to be a TEXTAREA replacement, not an HTML Editor, but I'm talking for me and my personal experience.

If your question is if it is possible, the answer is yes.
My personal opinion about being a quite flexible, nice and easier solution: NO. I don't think so. I'm pretty sure it would make your user's lives harder.

Greetings


Don't give up!!
http://webstationone.com/test/htmlarea


(This post was edited by Luis on Oct 21, 2003, 9:09 PM)


Shwing_Gal
Novice

Oct 22, 2003, 9:55 PM

Post #115 of 169 (6191 views)
Shortcut
Re: [Luis] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post

Ola Luis!

Can I send my editor?

Smile


Luis
Veteran

Oct 23, 2003, 12:28 AM

Post #116 of 169 (6188 views)
Shortcut
Re: [Shwing_Gal] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post

Sure.


Don't give up!!
http://webstationone.com/test/htmlarea


Bill Dawes
Novice

Oct 23, 2003, 4:00 PM

Post #117 of 169 (6171 views)
Shortcut
Re: [Luis] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post


In Reply To
Sure.



Hi Luis, you must be groaning under the weight of all these requests for the Word cleanup. Are you going to build it in as standard in the next version?

Maybe you should make a specific posting or a page on this site somewhere detailing the routines and explaining where to add them etc. Or if you have already done that, maybe you could tell me where it is?

And, failing that, can I be so bold as to ask if I can send you my editor.js and you bolt the word cleanup routines into it?

Very many thanks

Bill


Luis
Veteran

Oct 23, 2003, 8:37 PM

Post #118 of 169 (6169 views)
Shortcut
Re: [Bill Dawes] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post

Hi Bill:

I'm very lazy and bad to write instructions that take me hours thinking and thinking how to explain things better. To make the changes myself takes me 5-10 minutes, that's why I rather you to send me your editor.

Greetings and I wait for it.


Don't give up!!
http://webstationone.com/test/htmlarea


Shwing_Gal
Novice

Oct 24, 2003, 1:35 AM

Post #119 of 169 (6161 views)
Shortcut
Re: [Luis] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post

I'm embarrassed --- I don't know where my editor is.

It came with AM when I upgraded to version 1.31

I can't find it -- sorry I'm not a programmer.

Tongue


Bill Dawes
Novice

Oct 24, 2003, 4:54 AM

Post #120 of 169 (6157 views)
Shortcut
Re: [Luis] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post


In Reply To
OK, I understand! You are very kind and I really appreciate this.

Attachments: editor_500.js (47.4 KB)


ralof
Novice

Oct 28, 2003, 3:10 AM

Post #121 of 169 (6100 views)
Shortcut
Re: [Bill Dawes] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post


In Reply To

In Reply To
Sure.



Hi Luis, you must be groaning under the weight of all these requests for the Word cleanup. Are you going to build it in as standard in the next version?

Maybe you should make a specific posting or a page on this site somewhere detailing the routines and explaining where to add them etc. Or if you have already done that, maybe you could tell me where it is?

And, failing that, can I be so bold as to ask if I can send you my editor.js and you bolt the word cleanup routines into it?

Very many thanks

Bill



ralof
Novice

Oct 28, 2003, 3:18 AM

Post #122 of 169 (6098 views)
Shortcut
Re: [ralof] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post

Ack, there is a bug in the editor here, my post was stripped of all my own comments, it just contained what I quoted :)

Anyway, I just wanted to say I agree with Bill that it is getting very difficult to follow the different versions of the cleaner. Would it not be a good idea to release The Cleaner 0.9 Beta? There seem to be zillions of different versions of the code out there and it soon is almost easier to build a cleaner from scratch than to learn about the different flavours and bug in the different versions available....

Where can I actually find the latest version?

Regards

Stefan


jchatham
New User

Nov 3, 2003, 12:42 AM

Post #123 of 169 (6021 views)
Shortcut
Re: [Luis] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post

Luis,

Over the weekend, I was working on a project and found the wonderful htmlArea while doing some searching for code on the web. I started with the basic features and then started looking into the forums for the answer to a couple of questions and discovered your Word cleaner. I noticed that there is a spell checker included, but I have been unable to make it function at this time. Do you have any suggestions?

Thanks,

jchatham


Luis
Veteran

Nov 3, 2003, 8:44 PM

Post #124 of 169 (6002 views)
Shortcut
Re: [jchatham] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post

Hi jchatham:

See the Help File in my test site at the address below.

Instructions are a the end of the help file.

Greetings


Don't give up!!
http://webstationone.com/test/htmlarea


The Flash
New User

Nov 5, 2003, 3:49 PM

Post #125 of 169 (5980 views)
Shortcut
Re: [Luis] See the ultimate Word cleaner. Amazing!! [In reply to] Can't Post

Hi Luis,

I had a look at your editor at http://webstationone.com/test/htmlarea
however it doesn't seem to work in Mozilla on my PC.

Is it able to work on Mozilla?

One of the errors was the following tag in red was missing:
onload="goContext(); javascript:(hide();)"

The other one I still get is:
WriteMenuItems is not defined

Cheers

First page Previous page 1 2 3 4 5 6 7 Next page Last page  View All
 
 


Search for (options)