MyBB Community Forums

Full Version: Rin Editor 1.2.4 (Powerd by CKEditor)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Still want to know how to install a skin Sad lol
(2016-09-06, 07:58 AM)mikemayday Wrote: [ -> ]Hello, I've just tried Rin Editor and ran into the following problem:

If I insert a smiley via the smiley panel, it appears ok in the editor. When I click preview, the smiley looks ok in the post preview, but is broken in the wyswig editor and in the final post. Its URL gets replaced with "http://foo.bar/http" where foo.bar is the forum address.

If I insert the smiley by typing the appropriate text and then click preview, they appear okay in the preview AND the editor, but when I click preview again, the smilies are broken as above.

please give me steps to reproduce issue in my test forum. https://martyan.xyz/qhide (user: test pass: test123) (not need register, you can use test account user: test pass: test123)
because i can't reproduce error that you reporting here.
Hello martec, thanks for your response!

It appears the reason this bug can't be reproduced on your test site is that the editor on your site automatically switches to Source Mode whenever you click "preview". Because of that, Smilies remain in their text form and don't get corrupted. It does avert the problem but I would much rather be able to use WYSIWYG Mode as default.

On my site, the editor is automatically in WYSIWYG Mode, and if you click preview, the smilies in the editor are converted to images - another click of "preview" breaks them.

IN FACT, I've just discovered this happens to EVERY image I post, not only smilies.
(2016-09-07, 07:48 AM)mikemayday Wrote: [ -> ]Hello martec, thanks for your response!

It appears the reason this bug can't be reproduced on your test site is that the editor on your site automatically switches to Source Mode whenever you click "preview". Because of that, Smilies remain in their text form and don't get corrupted. It does avert the problem but I would much rather be able to use WYSIWYG Mode as default.

On my site, the editor is automatically in WYSIWYG Mode, and if you click preview, the smilies in the editor are converted to images - another click of "preview" breaks them.

IN FACT, I've just discovered this happens to EVERY image I post, not only smilies. You can test in on my forum:

http://goblinart.pl/forums/
User: tester
Pass: testowe

There's a language switcher at the bottom if you need it.

please in my test site disable default bbcode in ucp and repeat test again.
I'm afraid you're right, I can't reproduce this on your site either.

I tried installing the default MyBB theme to test this problem, but it persists. Even so much as switching between Source mode and wysiwyg breaks images.
(2016-09-07, 09:01 AM)mikemayday Wrote: [ -> ]I'm afraid you're right, I can't reproduce this on your site either.

I tried installing the default MyBB theme to test this problem, but it persists. Even so much as switching between Source mode and wysiwyg breaks images.

I saw quickly your site, but i not found root of issue. Appear that your forum is new, so more easy setup again mybb from zero and install only this plugin (please made test in fresh install state) and repeat test again, if ok, so install theme etc... in all stage (new plugin installation etc... repeat test to try found what causing conflict with this plugin).

and please not change default smilies folder to emoticons.
Okay, after some deep testing, here are my results:

If you delete all smilies, the editor goes a bit crazy. I've had very spaced text in WYSIWYG mode, and I can't switch between source and WYSIWYG more than once.

What was ACTUALLY causing the problem is that I've had replaced :/ with  Undecided
It appears that every time you place / or \ in the "Text to Replace" field, it messes up the editor.
(2016-09-07, 10:00 PM)mikemayday Wrote: [ -> ]What was ACTUALLY causing the problem is that I've had replaced :/ with  Undecided

i tested here with

:/

and

:-/

but i can't reproduce error...
0.7.0 Released

Changelog:
https://github.com/martec/Rin-Editor/mil...1?closed=1

How update:
- Unistall old version.
- Upload new version.
- Install new version.

How install new skin in Rin Editor v 0.7.0 or above:
1 - Download new skin in http://ckeditor.com/addons/skins/all -> e.g. moono-dark
2 - Extract in root/jscripts/rin/editor/skins/
3 - Rename folder and add "rin-" -> e.g. rin-moono-dark
4 - Create empty css file in root/jscripts/sceditor/editor_themes with same name of step 3 -> e.g. rin-moono-dark.css
5 - Go to ACP -> Template & Style -> Themes -> Your Theme -> Editor Style -> Choice skin that you installed (e.g. rin-moono-dark)
6 - Click in "Save Theme Properties"
7 - Repeat steps to all other themes of mybb that you using. You can select different skin for each theme.