Not Solved Error with Rin Editor 1.2.1 plugin (Latest version)
#1
Not Solved
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: 
 [Image: capture1.png][Image: capture2.png]


After this, I made some small changes in the css code to make the editor look better. Like this: 
[Image: capture3.png]


And after this, A few days passed and then a bug occurred.
Javascript error :
[Image: capture4.png]

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:
[Image: capture5.png]


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.

[Image: capture6.png]
Reply
#2
Not Solved
hi,

Unfortunately without steps to reproduce the problem I won't be able to help you.

What can you do:

1 - Clean install of mybb
2 - Try to make changes one at a time
3 - Check if it's still working. If continue working so return to step 2.
4 - If it stops working you will know what caused the problem.
5 - Try repeating the steps since step 1 again to make sure this is what is causing the problem.
6 - Finally let me know the steps I should take to reproduce the error you are experiencing.

Yes no steps for me to reproduce the problem unfortunately I won't be able to help you. I hope you understand this.
Reply
#3
Not Solved
Not a direct solution, sorry, but just a quick idea: Do you use the custom smilie box from mybb? If yes, why not only use them as work around?
Reply
#4
Not Solved
(2021-06-24, 02:07 AM)martec Wrote: hi,

Unfortunately without steps to reproduce the problem I won't be able to help you.

What can you do:

1 - Clean install of mybb
2 - Try to make changes one at a time
3 - Check if it's still working. If continue working so return to step 2.
4 - If it stops working you will know what caused the problem.
5 - Try repeating the steps since step 1 again to make sure this is what is causing the problem.
6 - Finally let me know the steps I should take to reproduce the error you are experiencing.

Yes no steps for me to reproduce the problem unfortunately I won't be able to help you. I hope you understand this.


Hi martec, 

Yes, I understand the problem. The problem is that I tried several times to reproduce the problem.

So I did a fresh install of MyBB with my theme and then I started installing all the plugins I had.
I have about 40 to 50 plugins installed on my forum at the moment.
After doing all this I still can't reproduce the error.

I have tried copying and pasting the folder containing the editor and I don't know why I keep getting this problem over and over again that prevents me from using the editor.

That's why I'm asking even though I knew there was no quick fix. I'll keep looking and I think I'll find it eventually.

I'll let you know when I find the problem, because it could happen to other people. Furthermore, I will update the thread.

(2021-06-24, 02:22 AM)skrilaxrev Wrote: Not a direct solution, sorry, but just a quick idea: Do you use the custom smilie box from mybb? If yes, why not only use them as work around?

What do you mean about use them as work around ? 
I don't understand.
Reply
#5
Not Solved
(2021-06-24, 11:19 AM)Wallzipper Wrote: I'll let you know when I find the problem, because it could happen to other people. Furthermore, I will update the thread.

thank you very much for the compression.
yes i will be grateful if you can let me know when you find the cause of the problem.
Reply
#6
Not Solved
(2021-06-24, 02:07 AM)martec Wrote: hi,

Unfortunately without steps to reproduce the problem I won't be able to help you.

What can you do:

1 - Clean install of mybb
2 - Try to make changes one at a time
3 - Check if it's still working. If continue working so return to step 2.
4 - If it stops working you will know what caused the problem.
5 - Try repeating the steps since step 1 again to make sure this is what is causing the problem.
6 - Finally let me know the steps I should take to reproduce the error you are experiencing.

Yes no steps for me to reproduce the problem unfortunately I won't be able to help you. I hope you understand this.

Hi martec, 

I'm updating the thread to explain what I did and how I solved the problem.

Summary: I have uninstalled Rin Editor and decided to use SCEDITOR.
Then I have modified the main theme to make it as pretty as I had done on Rin Editor.
I have installed 2 plugins you created, Quick Advanced Editor Plus (2.2.6) and My Insert Buttons (4.0.2).

[Image: capture1.png][Image: capture2.png]

With these 2 plugins, I was able to reproduce what I wanted via SCEDITOR.
Creation of hide buttons, spoiler etc...

And I was able to make SCEDITOR show up in showthread_quickreply too. This is what I wanted. And I have no errors with my emojis.
So in the end, I didn't solve the problem, but I got around it.

I also did a clean reinstall and Rin Editor was working fine. But I can't use it on my main forum because I have too many plugins and configurations. It will take me too long to redo them all.
Reply
#7
Not Solved
(2021-06-27, 12:23 PM)Wallzipper Wrote:
(2021-06-24, 02:07 AM)martec Wrote: hi,

Unfortunately without steps to reproduce the problem I won't be able to help you.

What can you do:

1 - Clean install of mybb
2 - Try to make changes one at a time
3 - Check if it's still working. If continue working so return to step 2.
4 - If it stops working you will know what caused the problem.
5 - Try repeating the steps since step 1 again to make sure this is what is causing the problem.
6 - Finally let me know the steps I should take to reproduce the error you are experiencing.

Yes no steps for me to reproduce the problem unfortunately I won't be able to help you. I hope you understand this.

Hi martec, 

I'm updating the thread to explain what I did and how I solved the problem.

Summary: I have uninstalled Rin Editor and decided to use SCEDITOR.
Then I have modified the main theme to make it as pretty as I had done on Rin Editor.
I have installed 2 plugins you created, Quick Advanced Editor Plus (2.2.6) and My Insert Buttons (4.0.2).

[Image: capture1.png][Image: capture2.png]

With these 2 plugins, I was able to reproduce what I wanted via SCEDITOR.
Creation of hide buttons, spoiler etc...

And I was able to make SCEDITOR show up in showthread_quickreply too. This is what I wanted. And I have no errors with my emojis.
So in the end, I didn't solve the problem, but I got around it.

I also did a clean reinstall and Rin Editor was working fine. But I can't use it on my main forum because I have too many plugins and configurations. It will take me too long to redo them all.

no problem. if you have a problem with these other plugins let me know.
thanks for feedback.
and thanks for using other plugin.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)