Page 10 of 12

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Mon May 04, 2015 9:10 pm
by yellowled
ICE wrote:

Code: Select all

@media only screen and (min-width: 768px)
.configuration_group .form_select select, .configuration_group .form_multiselect select, .configuration_group .form_field input, .configuration_group .form_area textarea, #uploadform .form_select select, #uploadform .form_field input {
  max-width: 48%;
}
If put max-width to 100%, the sourcecode view is fine ...
Please do not reset this to 100% globally. If this solves an issue with the CK Editor for the HTML nugget, it needs a specific exception just for that. Resetting it globally would break the backend layout.

YL

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Tue May 05, 2015 12:45 pm
by Timbalu
This is already fixed in S9y 2.0.2 since March, so you either need to add this to your templates/2k11/admin/style.css https://github.com/s9y/Serendipity/blob ... e.css#L793

or copy it all https://raw.githubusercontent.com/s9y/S ... /style.css
I think this should do too. It is a Firefox only issue.

Thanks for noting.

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Tue May 05, 2015 2:32 pm
by ICE
Timbalu wrote:I think this should do too. It is a Firefox only issue.
Thanks for noting.
No it's not, I'm a 99% Chrome User...

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Tue May 05, 2015 4:04 pm
by Timbalu
Did you test this?
I have several Serendipity 2.0.1 +patch, or 2.0.2, or 2.1.0-dev installation blogs and checked this with a core or plugin ckeditor in Chrome and there isn't any issue left, regarding .cke_source.

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Tue May 05, 2015 4:09 pm
by ICE
There is no 2.0.2: http://www.s9y.org/12.html

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Tue May 05, 2015 4:23 pm
by Timbalu
There is! ;-) Not yet released, though. It's in the 2.0 branch. See my linked style.css links. If you are in master this is the cutting edge 2.1.0-dev repository.

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Tue May 05, 2015 4:57 pm
by Timbalu
Ops sorry, I did not read you were talking about the html nugget plugin textarea only. This is true! Here Chrome has this issue too.
So instead of

Code: Select all

@-moz-document url-prefix() {
  textarea.cke_source,
  .configuration_group .form_area textarea.cke_source { white-space: pre-wrap; max-width: 100%; }
}
use

Code: Select all

textarea.cke_source,
.configuration_group .form_area textarea.cke_source { white-space: pre-wrap; max-width: 100%; }
only.
Thanks.

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Wed May 06, 2015 5:55 pm
by ICE
Next bug, but it is ckeditor related. Ckeditor removes every syntax for awesome fonts, e.g.:

Code: Select all

<i class="fa fa-camera-retro"></i>
advanced content filter is off!

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Wed May 06, 2015 6:09 pm
by Timbalu
Hey, this isn't a general HTML Page editor. It is used by Serendipity to support a good Wysiwyg-Editor converting html markup for entries. :)

Other CKE related questions are to be taken to stackoverflow http://stackoverflow.com/questions/tagged/ckeditor and can be returned here as information bits for others.

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Wed May 06, 2015 6:11 pm
by ICE
I know, i know ... :-)

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Wed May 06, 2015 6:14 pm
by Timbalu
https://github.com/s9y/Serendipity/blob ... fig.js#L67
what about adding

Code: Select all

i(*);
? elements [attributes]{styles}(classes)

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Wed May 06, 2015 6:25 pm
by ICE
:D yeah, party on! :mrgreen: not update safe ... but great!

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Wed May 06, 2015 6:37 pm
by Timbalu
If you read through that file you will find a way to make your own upgrade safe copy.

Oh and that reminds me to add span[*]{*}(*); for s9y 2.0.2 too.

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Wed May 06, 2015 6:44 pm
by ICE
Okay, thanks, i am here on my cellphone ... I'll read it later.

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Posted: Tue Jul 07, 2015 7:56 pm
by Timbalu
  • 4.8.0:
    -----
  • Upgrade to CKEDITOR 4.4 Series, update 8 (http://ckeditor.com/whatsnew)
  • IE css fix for option re-enable cke built-in image toolbar button
  • Add allow <span*> tag to extraAllowedContent
  • Set autoParagrah to false, to not set wrapping P tags to the extraAllowedContent
    content tags, when switching the editor mode or saving.