wysihtml5
wysihtml5 copied to clipboard
removing "Heya! This page is using wysihtml5 for rich text editing." from console
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.
It's line 9437 of the file.
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.
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.
Ops I see it was on by default.
+1 this is really annoying
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.
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?
+1
+1
I also see same problem
Heya! This page is using wysihtml5 for rich text editing. Check out https
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.
I recommend just using plain html with contenteditable="true". You have to make your own toolbar but much more straight forward.