Hello,
I use tinyMCE for my Content Management System, for Web-Designer and
Web-Developer. They can edit the content easy.
But I am not happy with tinyMCE because it is very big. I search an alternate
written with prototype.js and with less features.
Who knows about such a tool?
Thank you
I have a question to this prototype function:
function isJSON() {
var str = this;
if (str.blank()) return false;
str = this.replace(/\\./g, '@').replace(/[^\\\n\r]*/g, '');
return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str);
}
If I send a JSON { 'str': 'pThis is a
Hello
I use C/C++ with Apache module
I do send \\n or br / from server to the browser.
But my question was: which chars need to be escaped too? I can see \r, \f
and \t. But the other RegExp rule I do not understand.
Manfred
--~--~-~--~~~---~--~~
You received
Hi
ok, please read, what I mean. My code actually runs perfectly.
In the past I have had problems with the newline and found, that isJSON()
checks the string coming from server. Thats fine.
I only want, that I did not run into new problems later, and want to
understand, what isJSON() does. So
--
COMPARAT Software-Entwicklungs-GmbH
Prießstraße 16
23558 Lübeck
Telefon: 0451/479 56 60
Geschf: Manfred Rebentisch
AG Lübeck, HRB 3559
Web: www.comparat.de
Web, Businessplattform: www.athesios.de
Lübeck: www.luebeck-info.com und http://facebook.luebeck-info.com
Twitter: http://twitter.com/COMPARAT
Hi,
wow! A good and very fast answer! I will test it now...
Thank you!
--
COMPARAT Software-Entwicklungs-GmbH
Prießstraße 16
23558 Lübeck
Telefon: 0451/479 56 60
Geschf: Manfred Rebentisch
AG Lübeck, HRB 3559
Web: www.comparat.de
Web, Businessplattform: www.athesios.de
Lübeck: www.luebeck