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


CKEditor / Rin Editor - metulburr - Jul-25-2017

testing in a different editor in attempt to fix some bugs.

0
 1
  2
   3
    4

EDIT:
It appears to have fixed the issue with removing 1 space from code in preview.

However it adds a few other issues. These might be able to be fixed by some tweaking but dont have time for it right now. 
  • quick reply is greatly larger fixed by removing unneeded smilies in quick reply 
  • drag and drop image uploader implemented into CKEditor under image -> upload doesn't appear to work
  • There doesn't appear to be a method to add custom buttons such as our spoiler/output/python/ tags. I mean you could get the job done by just quote and code as it converts to python syntax code box anyways
  • by default the editor is in WYSIWYG mode, and can be changed on the fly by a button to source mode. If in source mode, the editor removes all whitespace before a line. 
  • fast quote doesnt work anymore
On a plus it seems to add some cool functionality.
  • spell and grammar checker
  • auto save
  • option to switch to and from WYSIWYG and source mode with an option to permanently paste as plain text in settings for each user.
  • special character entry
  • search and replace
  •  tables
Ill leave it up for debate for now. Feel free to post bogus stuff here to just test out the editor for other issues.


RE: testing of CEditor - metulburr - Jul-25-2017

class
  def __init__(self):
     pass
I would have to say this editor has some cool features from what i see.


RE: testing of CEditor - metulburr - Jul-25-2017

0
 1
  2
0
 1
  2
   3



RE: CKEditor - MTVDNA - Jul-25-2017

Looks like indents in code are indeed fixed, but unfortunately this doesn't work for output or errors yet.

Code with preview
0
 1
  2
   3
    4
Output with 1 preview
Output:
0 1 2 3 4
Error with 1 preview
Error:
0 1 2 3 4
Other than that this is indeed a fancy editor.


RE: CKEditor - metulburr - Jul-25-2017

0
 1
  2
Error:
0  1   2
Output:
0  1   2    3     4
Im getting expected results with output/error tags as well after previewing


RE: CKEditor - metulburr - Jul-25-2017

Output:
0  1   2
after previewing, it previews as it should and shows in the editor correctly spaced, and posts as it should. Could you try it again? Are you doing anything different between the code spaced and output/error spaced? Also do what settings do you have the editor in? The top-left says "Source" if its white it in WYSIWYG mode, if its edge is grey like its depressed then its in source mode.


RE: CKEditor - metulburr - Jul-25-2017

testing in source mode

0
1
2
0
 1
  2
 
Quote:0
1
2


Output:
0 1 2



RE: CKEditor - metulburr - Jul-25-2017

ahh that must be it.

It appears it removes indentation like the old editor in source mode, but retains it in WYSIWYG mode. However this time it is doing all whitespace....no single space removal. Personally i would prefer this way better than the old way...due to a single space being hard to detect, and all whitespace would be an easy indicator for something is wrong.


RE: CKEditor - MTVDNA - Jul-25-2017

I've played around with it a bit and I've come to the same conclusion. I just need to make sure to paste with ctrl+shift+v to paste as plain text, otherwise the formatting is copied too.  In the editor options you can select 'Paste as plain text by default' but that doesn't seem to work unfortunately.


RE: CKEditor - metulburr - Jul-25-2017

ill take a look at that button code.

Dont get use to the editor just yet. If people vote it out then its gone. Also currently its in limbo....trying it out mode. Ill leave it as is for a week or so to get users perpective.