Python Forum
CKEditor / Rin Editor
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CKEditor / Rin Editor
#91
It should be defaulted to source mode
Recommended Tutorials:
Reply
#92
(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
Reply
#93
If you try to edit my post over,do you see that square bracket is gone after together?
Reply
#94
(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
Recommended Tutorials:
Reply
#95
(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?
Reply
#96
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
Recommended Tutorials:
Reply
#97
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?
Reply
#98
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.
Reply
#99
(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.
Recommended Tutorials:
Reply
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.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020