new WYSIWYG-Editor event Plugin: CKEDITOR!

Creating and modifying plugins.
User avatar
yellowled
Regular
Posts: 7001
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by yellowled » Mon May 04, 2015 9:10 pm

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
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by Timbalu » Tue May 05, 2015 12:45 pm

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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

ICE
Regular
Posts: 239
Joined: Tue Jun 28, 2005 11:15 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by ICE » Tue May 05, 2015 2:32 pm

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...

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by Timbalu » Tue May 05, 2015 4:04 pm

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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

ICE
Regular
Posts: 239
Joined: Tue Jun 28, 2005 11:15 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by ICE » Tue May 05, 2015 4:09 pm

There is no 2.0.2: http://www.s9y.org/12.html

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by Timbalu » Tue May 05, 2015 4:23 pm

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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by Timbalu » Tue May 05, 2015 4:57 pm

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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

ICE
Regular
Posts: 239
Joined: Tue Jun 28, 2005 11:15 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by ICE » Wed May 06, 2015 5:55 pm

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!

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by Timbalu » Wed May 06, 2015 6:09 pm

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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

ICE
Regular
Posts: 239
Joined: Tue Jun 28, 2005 11:15 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by ICE » Wed May 06, 2015 6:11 pm

I know, i know ... :-)

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by Timbalu » Wed May 06, 2015 6:14 pm

https://github.com/s9y/Serendipity/blob ... fig.js#L67
what about adding

Code: Select all

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

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

ICE
Regular
Posts: 239
Joined: Tue Jun 28, 2005 11:15 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by ICE » Wed May 06, 2015 6:25 pm

:D yeah, party on! :mrgreen: not update safe ... but great!

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by Timbalu » Wed May 06, 2015 6:37 pm

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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

ICE
Regular
Posts: 239
Joined: Tue Jun 28, 2005 11:15 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by ICE » Wed May 06, 2015 6:44 pm

Okay, thanks, i am here on my cellphone ... I'll read it later.

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: new WYSIWYG-Editor event Plugin: CKEDITOR!

Post by Timbalu » Tue Jul 07, 2015 7:56 pm

  • 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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

Post Reply