2021-06-23, 12:32 PM
(This post was last modified: 2021-06-23, 12:34 PM by Wallzipper.)
Hi everybody,
I post this thread because I have big issue with Rin Editor 1.2.1 plugin.
(sorry for my bad english)
Context of the situation:
I installed the Rin Editor plugin and here is my plugin configuration:
After this, I made some small changes in the css code to make the editor look better. Like this:
And after this, A few days passed and then a bug occurred.
Javascript error :
So, I went to see the problem in the code and here is where the problem is (code snippet):
I don't understand what the problem is. Apparently this is caused by the custom smilies I put on the forum:
If anyone has an answer to this error, I am open to suggestions.
I would like to point out that I cannot provide a login to connect and debugg because the site is in localhost on my pc. However I can provide as many screenshots and information as possible for people who want to help me.
To continue, this is what the editor does with the error.
I can't use it anymore because of the javascript error I have.
I post this thread because I have big issue with Rin Editor 1.2.1 plugin.
(sorry for my bad english)
Context of the situation:
I installed the Rin Editor plugin and here is my plugin configuration:
After this, I made some small changes in the css code to make the editor look better. Like this:
And after this, A few days passed and then a bug occurred.
Javascript error :
So, I went to see the problem in the code and here is where the problem is (code snippet):
var k = CKEDITOR.dtd,
l = CKEDITOR.tools.extend({
table: 1
}, k.$listItem, k.$tableContent, k.$list),
m = /\s*(?:;\s*|$)/,
b = [],
k = smileyMapdes.sort(function (a, b) {
return b.length - a.length
}),
e;
for (e in k) b.push(k[e].replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$\x26")); // error here
var b = new RegExp(b.join("|"), "g"),
d = function () {
var a = [],
b = {
nbsp: " ",
shy: ""
},
d;
for (d in b) a.push(d);
a = new RegExp("\x26(" + a.join("|") + ");", "g");
return function (d) {
return d.replace(a, function (a, d) {
return b[d]
})
}
}();
I don't understand what the problem is. Apparently this is caused by the custom smilies I put on the forum:
If anyone has an answer to this error, I am open to suggestions.
I would like to point out that I cannot provide a login to connect and debugg because the site is in localhost on my pc. However I can provide as many screenshots and information as possible for people who want to help me.
To continue, this is what the editor does with the error.
I can't use it anymore because of the javascript error I have.