Python Forum
CKEditor / Rin Editor - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Board (https://python-forum.io/forum-26.html)
+--- Thread: CKEditor / Rin Editor (/thread-4139.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: CKEditor / Rin Editor - metulburr - Aug-17-2017

It should be defaulted to source mode


RE: CKEditor / Rin Editor - snippsat - Aug-17-2017

(Aug-17-2017, 08:13 PM)metulburr Wrote: It should be defaulted to source mode
No it dos not,and it shouldn't do either.
That would just be confusing for new user,
because CKEditor look quite different than old editor in source mode.
The old editor is was okay start in source because the look was the same.

This has nothing to do about source mode or not,it happen in both.
My guess is that there some escape problem somewhere maybe in a YourCode setup.
Test [ ] okay 1 space,gone together [] not here


RE: CKEditor / Rin Editor - snippsat - Aug-17-2017

If you try to edit my post over,do you see that square bracket is gone after together?


RE: CKEditor / Rin Editor - metulburr - Aug-17-2017

(Aug-17-2017, 11:08 PM)snippsat Wrote:
(Aug-17-2017, 08:13 PM)metulburr Wrote: It should be defaulted to source mode
No it dos not,and it shouldn't do either.

My editor is always defaulted to source mode. That was the way it was coded. You can change it to WYSIWYG mode if you like

Quote:If you try to edit my post over,do you see that square bracket is gone after together?
no its always there


RE: CKEditor / Rin Editor - snippsat - Aug-18-2017

(Aug-17-2017, 11:30 PM)metulburr Wrote: My editor is always defaulted to source mode. That was the way it was coded. You can change it to WYSIWYG mode if you like
Not for me on Windows,haven't tested in Linux yet.
CKEditor dos never start in source mode,if you look at in other places like here.
metulburr Wrote:no its always there
For me is gone when look at it in editor in Full Edit.
There can be some difference Windows,Linux.
You use Linux with FireFox?


RE: CKEditor / Rin Editor - metulburr - Aug-18-2017

Quote:Not for me on Windows,haven't tested in Linux yet.
CKEditor dos never start in source mode,if you look at in other places like here.
after this change....my editor was always in source mode (for Rin Editor). I was assuming this was a global change....but i guess not.

Quote:You use Linux with FireFox?
linux with chrome


RE: CKEditor / Rin Editor - snippsat - Aug-18-2017

Have tested in Linux Firefox and Chrome the behavior is always the same for me as it was in Windows.
So square brackets [no space](empty list),it always diapers after Preview Post in editor source mode or not.
So the same as @nilamo discoverer here.
nilamo Wrote:In code blocks, if you have an empty list: , and then preview the post, the editor will then remove the empty list. 
lst = []
for i in range(5):
    lst.append(i)

print(lst)
I did deactivate Rin Editor just as test,then empty square brackets is okay when push Preview Post.
So i think problem is somewhere in regex in Rin Editor source.
Dos anyone know a other forum that use Rin Editor,just to confirm this?


RE: CKEditor / Rin Editor - snippsat - Aug-18-2017

Test preview and then post
lst =
for i in range(5):
    lst.append(i)
 
print(lst)
It work first time,if not preview and then post as here.


RE: CKEditor / Rin Editor - metulburr - Aug-29-2017

(Aug-18-2017, 11:09 AM)snippsat Wrote: Test preview and then post
lst =
for i in range(5):
    lst.append(i)
 
print(lst)
It work first time,if not preview and then post as here.

response back from plugin author
Quote:Unfortunately this editor does not support empty tag.
you can check in http://sdk.ckeditor.com/samples/bbcode.html that same issue will happen.
So i guess we are on our own.


RE: CKEditor / Rin Editor - snippsat - Aug-29-2017

Quote:Unfortunately this editor does not support empty tag.
Yes i guessed that this would be the case.

It's not often we will get posts with this problem and now that we know is easy to fix,
so i don't now if it worth digging into regex of this.
It can work to [] [] if not hitting Preview Post before Post.