2018-11-04, 05:17 AM
I realize this thread gets very little traction anymore, but I was wondering if anyone else has been experiencing a particular issue with CKEditor.
Essentially, it appears the MyCode parsing is breaking somewhere along the line and causing extra ending tags to be inserted, or removed altogether.
E.g., if I post this:
I get what I expect:
![[Image: d4dfbc8d34cf8e5488c07025fd6d6750.png]](https://camo.mybb.com/17d533082160fa73e2c2ea30ab939a3e5c176db0/68747470733a2f2f692e6779617a6f2e636f6d2f64346466626338643334636638653534383863303730323566643664363735302e706e67)
But if I quick or full edit it, the WYSIWYG view screws up:
![[Image: f2e5f341a836bcf7a1ab427eac356ff8.png]](https://camo.mybb.com/8f3ae89a9d37dc4ad8360777785023b2e63a9b80/68747470733a2f2f692e6779617a6f2e636f6d2f66326535663334316138333662636637613161623432376561633335366666382e706e67)
Even though the Source mode show the correct MyCode:
![[Image: e4237ce216339d2bc0373e0aef48cef7.png]](https://camo.mybb.com/617c98a99d43f0e2b012ea28851a98bce6bc83e1/68747470733a2f2f692e6779617a6f2e636f6d2f65343233376365323136333339643262633033373365306165663438636566372e706e67)
If I start adding more things to it, the problem gets exaggerated:
![[Image: 3738b412ae5af5bc5ca63d29413f3b21.png]](https://camo.mybb.com/f7b6763a9b3b131afbe032c69840c9c04b37e7a1/68747470733a2f2f692e6779617a6f2e636f6d2f33373338623431326165356166356263356361363364323934313366336232312e706e67)
It makes editing posts with any sort of MyCode impossible because every tag added seems to increase the likelihood that something extra screws up.
I even tried this on a completely vanilla version of MyBB 1.8.19 and CKEditor (Build #3) and it still does it:
![[Image: a9bf2686b751f5cba95ec61c7e4f7d26.png]](https://camo.mybb.com/c6846d2e52829dd80d4429e728f2c51240013312/68747470733a2f2f692e6779617a6f2e636f6d2f61396266323638366237353166356362613935656336316337653466376432362e706e67)
Essentially, it appears the MyCode parsing is breaking somewhere along the line and causing extra ending tags to be inserted, or removed altogether.
E.g., if I post this:
[b][color=#FF0000]Test test test[/color][/b]
[b][color=#FF0000]Test test test[/color][/b]
I get what I expect:
But if I quick or full edit it, the WYSIWYG view screws up:
Even though the Source mode show the correct MyCode:
If I start adding more things to it, the problem gets exaggerated:
It makes editing posts with any sort of MyCode impossible because every tag added seems to increase the likelihood that something extra screws up.
I even tried this on a completely vanilla version of MyBB 1.8.19 and CKEditor (Build #3) and it still does it: