wysihtml5 icon indicating copy to clipboard operation
wysihtml5 copied to clipboard

removing "Heya! This page is using wysihtml5 for rich text editing." from console

Open drewB opened this issue 11 years ago • 12 comments

Can we remove the console.log "Heya! This page is using wysihtml5 for rich text editing?" Console logs are used for debugging and having that message in there makes things messier. For example, when I run my test suite I get a ton of those messages.

drewB avatar Mar 27 '13 18:03 drewB

It's line 9437 of the file.

jsodeman avatar Mar 29 '13 03:03 jsodeman

Unless there has been a change in the maintainer's policy, this message will not be removed, and no option to disable it will be added. See:

https://github.com/xing/wysihtml5/pull/209

If the console.log message is interfering with your test or your application, your best option is probably a fork.

edslocomb avatar Mar 30 '13 01:03 edslocomb

Thanks for pointing me to that pull request. I think that is too bad. This is a great library but I have never seen that kind for self promotion in an open source lib before. Perhaps he would reconsider the pull request if the default was still to show it.

drewB avatar Mar 30 '13 02:03 drewB

Ops I see it was on by default.

drewB avatar Mar 30 '13 02:03 drewB

+1 this is really annoying

zackd avatar Jun 14 '13 14:06 zackd

I am not going to use an open source lib which I can't control in its logging outputs. This is awkward. Overwriting console.log is definitely not an option. And I don't want to fork it just because the maintainer believes this is an good promotion. It's definitely not. Unwanted ads are always spam.

BTW, I am giving credits to open source libs in my business app. The problem is not about giving credits, its about deciding when and where you want to give credits.

Anyway, thanks @edslocomb for the reference.

grobmeier avatar Jul 22 '13 21:07 grobmeier

Is it possible that the author is not aware of integration testing? Maybe they just don't know that this shows up in test suite output?

jaredbeck avatar Dec 06 '13 20:12 jaredbeck

+1

itschn avatar Feb 02 '15 13:02 itschn

+1

abuabdul avatar Aug 06 '16 14:08 abuabdul

I also see same problem

Heya! This page is using wysihtml5 for rich text editing. Check out https

taiaburbd avatar Aug 15 '17 23:08 taiaburbd

This project hasn't seen any commits since 2014 (It's 2017 as I write) and there are 260 open issues. Any recommendations for good forks or alternatives? I've used TinyMCE before with varying degrees of success.

jaredbeck avatar Aug 16 '17 15:08 jaredbeck

I recommend just using plain html with contenteditable="true". You have to make your own toolbar but much more straight forward.

drewB avatar Aug 16 '17 15:08 drewB