The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
CKeditor Line Breaks & Indent Issues - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: CKeditor Line Breaks & Indent Issues (/showthread.php?tid=3686)

Pages: 1 2


CKeditor Line Breaks & Indent Issues - ChompDigital - 2012-10-16

After playing around with CKeditor I noticed the formatting in HTML source view is not right.

I reformatted the CKeditor to produce code the proper way if anyone is interested.
Download the provided ckeditor.js file and upload it to template/js/ckeditor to overwrite the existing ckeditor config file.

Example

From this:
Code:
<p>Mytext
                </p>

To this:
Code:
<p>My text</p>



CKeditor Line Breaks & Indent Issues - Connie - 2012-10-16

please, before you offer modifications of the original script and seduce users to install it, check out about the possibilities of CKEDITOR

it is a configuration whether there are linebreaks in the generated code or not

"After playing around with CKeditor I noticed the formatting in HTML source view is not right."

where do you know from what is right and what is wrong????

see here:
http://help.pixelandtonic.com/brandonkelly/topics/how_do_i_set_output_formatting_writer_rules?from_gsfn=true

an example might be:
Code:
CKEDITOR.on( 'instanceReady', function( ev ) {

var blockTags = ['div','h1','h2','h3','h4','h5','h6','p','pre','ul','li','table','td','tr','blockquote'];
var rules = {
indent : false,
breakBeforeOpen : true,
breakAfterOpen : false,
breakBeforeClose : false,
breakAfterClose : false
};

we even have an example in the WIKI:
http://get-simple.info/wiki/how_to:editor_configuration_custom_files#custom_configuration_file

so, please do configure and not modify!!!!!!


CKeditor Line Breaks & Indent Issues - ChompDigital - 2012-10-17

That helps, thank you!
Also I did not see anything about this in the wiki, I only saw the option to change P to BR. I'm curious though as to why this isn't defaulted in GS? The code formatting was driving my nuts lol.

Connie Wrote:please, before you offer modifications of the original script and seduce users to install it, check out about the possibilities of CKEDITOR

it is a configuration whether there are linebreaks in the generated code or not

"After playing around with CKeditor I noticed the formatting in HTML source view is not right."

where do you know from what is right and what is wrong????

see here:
http://help.pixelandtonic.com/brandonkelly/topics/how_do_i_set_output_formatting_writer_rules?from_gsfn=true

an example might be:
Code:
CKEDITOR.on( 'instanceReady', function( ev ) {

var blockTags = ['div','h1','h2','h3','h4','h5','h6','p','pre','ul','li','table','td','tr','blockquote'];
var rules = {
indent : false,
breakBeforeOpen : true,
breakAfterOpen : false,
breakBeforeClose : false,
breakAfterClose : false
};

we even have an example in the WIKI:
http://get-simple.info/wiki/how_to:editor_configuration_custom_files#custom_configuration_file

so, please do configure and not modify!!!!!!



CKeditor Line Breaks & Indent Issues - Connie - 2012-10-17

SmashArtist Wrote:Also I did not see anything about this in the wiki, I only saw the option to change P to BR. I'm curious though as to why this isn't defaulted in GS? The code formatting was driving my nuts lol.

well, please be aware that CKEDITOR is NOT GetSimple!

And which default configuration is the perfect one, who decides?

I think we offer as much information as necessary, because:

we describe in the WIKI how to define personal, special config-files incase you are not satisfied with "advanced" and "options" in the gsconfig.php

but to learn about the CKEDITOR you have to go to the CKEDITOR docs and find out what is possible before you condemn it ;=)

I aplogize for not delivering a 150%-documentation of the editor, I stick with the proverb: give the man a net and he can catch fish himself ;=)

Cheers, Connie


CKeditor Line Breaks & Indent Issues - ChompDigital - 2012-10-17

Connie Wrote:
SmashArtist Wrote:Also I did not see anything about this in the wiki, I only saw the option to change P to BR. I'm curious though as to why this isn't defaulted in GS? The code formatting was driving my nuts lol.

well, please be aware that CKEDITOR is NOT GetSimple!

And which default configuration is the perfect one, who decides?

I think we offer as much information as necessary, because:

we describe in the WIKI how to define personal, special config-files incase you are not satisfied with "advanced" and "options" in the gsconfig.php

but to learn about the CKEDITOR you have to go to the CKEDITOR docs and find out what is possible before you condemn it ;=)

I aplogize for not delivering a 150%-documentation of the editor, I stick with the proverb: give the man a net and he can catch fish himself ;=)

Cheers, Connie

Thanks, I know that CKEDITOR isn't GS. I love the design of the editor and I've managed to add everything needed.


CKeditor Line Breaks & Indent Issues - shawn_a - 2012-10-17

yeah I think we should add a better default option for this to core, that damn wrapping is idiotic.

I have never seen that syntax in my life, I don't know who came up with the idea that that was legible, i guess it is their excuse for not having real syntax highlighting or formatting. It does not help at all however.

It also likes removing empty lines and newlines for no apparent reason. Removed empty tags, and other annoyances.

I would like to see these all fixed and consider them a nuisance.

I also have a asset update discussion in issues to get it updated to a newer version,


CKeditor Line Breaks & Indent Issues - ChompDigital - 2012-10-17

shawn_a Wrote:yeah I think we should add a better default option for this to core, that damn wrapping is idiotic.

I have never seen that syntax in my life, I don't know who came up with the idea that that was legible, i guess it is their excuse for not having real syntax highlighting or formatting. It does not help at all however.

It also likes removing empty lines and newlines for no apparent reason. Removed empty tags, and other annoyances.

I would like to see these all fixed and consider them a nuisance.

I also have a asset update discussion in issues to get it updated to a newer version,

Glad I wasn't the only one, lol.
I too think it should be addressed at least for those that are unaware or that don't have the ability to correct the issue themselves.

Awesome job on your plugin developments btw, I dropped in today to check out your work.
I've been a WP developer for too long and figured I'd dip into something different. Keep up the good work!


CKeditor Line Breaks & Indent Issues - Connie - 2012-10-17

so, let's do like this:

I suggest to collect whishes for the editor-configuration in a special thread in "feature request"-forum and when we have collected a reasonable list, let us push the developers to create a new default configuration.

I will start that thread,

Cheers, Connie


RE: CKeditor Line Breaks & Indent Issues - reticent - 2013-05-21

The function for me looks like this:

Code:
CKEDITOR.on( 'dialogDefinition', function( ev )    {
        var dialogName = ev.data.name;
        var dialogDefinition = ev.data.definition;
        ev.data.definition.resizable = CKEDITOR.DIALOG_RESIZE_NONE;

        if ( dialogName == 'link' ) {
            var infoTab = dialogDefinition.getContents( 'info' );
            //dialogDefinition.removeContents( 'target' );
            var advTab = dialogDefinition.getContents( 'advanced' );
            advTab.remove( 'advLangDir' );
            advTab.remove( 'advLangCode' );
            advTab.remove( 'advContentType' );
            advTab.remove( 'advTitle' );
            advTab.remove( 'advCharset' );
        }

        if ( dialogName == 'image' ) {
            var infoTab = dialogDefinition.getContents( 'info' );
            infoTab.remove( 'txtBorder' );
            infoTab.remove( 'txtHSpace' );
            infoTab.remove( 'txtVSpace' );
            infoTab.remove( 'btnResetSize' );
            dialogDefinition.removeContents( 'Link' );
            var advTab = dialogDefinition.getContents( 'advanced' );
            advTab.remove( 'cmbLangDir' );
            advTab.remove( 'txtLangCode' );
            advTab.remove( 'txtGenLongDescr' );
            advTab.remove( 'txtGenTitle' );
        }
});

How do I have the same function encompass the extra code as previously quoted?


RE: CKeditor Line Breaks & Indent Issues - Connie - 2013-05-21

(2013-05-21, 15:57:58)reticent Wrote: How do I have the same function encompass the extra code as previously quoted?

sorry, what is "encompass"? I do not know that word.

you show us a code excerpt which defines the dialogue-functionality.

What was discussed here is the formatting of the HTML-output, quite a different topic.


There is an example in the wiki:
http://get-simple.info/wiki/how_to:editor_configuration_custom_files

and this example file has this part:
PHP Code:
// from  http://help.pixelandtonic.com/brandonkelly/topics/how_do_i_set_output_formatting_writer_rules?from_gsfn=true 
CKEDITOR.on'instanceReady', function( ev ) {

var 
blockTags = ['div','h1','h2','h3','h4','h5','h6','p','pre','ul','li'];
var 
rules = {
indent false,
breakBeforeOpen false,
breakAfterOpen false,
breakBeforeClose false,
breakAfterClose true
};

for (var 
i=0i<blockTags.lengthi++) {
ev.editor.dataProcessor.writer.setRulesblockTags[i], rules );
}

}); 

and it is exactly described how to use and configure a custom configuration file for the editor

so I think you can start with that. If you have problems, ask!


RE: CKeditor Line Breaks & Indent Issues - reticent - 2013-05-21

(2013-05-21, 16:10:52)Connie Wrote:
(2013-05-21, 15:57:58)reticent Wrote: How do I have the same function encompass the extra code as previously quoted?

sorry, what is "encompass"? I do not know that word.

you show us a code excerpt which defines the dialogue-functionality.

What was discussed here is the formatting of the HTML-output, quite a different topic.


There is an example in the wiki:
http://get-simple.info/wiki/how_to:editor_configuration_custom_files

and this example file has this part:
PHP Code:
// from  http://help.pixelandtonic.com/brandonkelly/topics/how_do_i_set_output_formatting_writer_rules?from_gsfn=true 
CKEDITOR.on'instanceReady', function( ev ) {

var 
blockTags = ['div','h1','h2','h3','h4','h5','h6','p','pre','ul','li'];
var 
rules = {
indent false,
breakBeforeOpen false,
breakAfterOpen false,
breakBeforeClose false,
breakAfterClose true
};

for (var 
i=0i<blockTags.lengthi++) {
ev.editor.dataProcessor.writer.setRulesblockTags[i], rules );
}

}); 

and it is exactly described how to use and configure a custom configuration file for the editor

so I think you can start with that. If you have problems, ask!


The code suggested has the same function name as already existing code...


RE: CKeditor Line Breaks & Indent Issues - Connie - 2013-05-21

(2013-05-21, 16:27:17)reticent Wrote: The code suggested has the same function name as already existing code...

why not? CKEditor uses THAT function to generate the HTML from the textareas

so you have to define what you want to define in this function.


RE: CKeditor Line Breaks & Indent Issues - reticent - 2013-05-21

(2013-05-21, 20:04:38)Connie Wrote:
(2013-05-21, 16:27:17)reticent Wrote: The code suggested has the same function name as already existing code...

why not? CKEditor uses THAT function to generate the HTML from the textareas

so you have to define what you want to define in this function.

My understanding of the function would be to determine behavior around user actions such as opening the editor, closing etc unless my reading of it is totally wrong in which case the issue is then, why automatically generate anything at all when arguably it should be "opt in" and not the other way round.


RE: CKeditor Line Breaks & Indent Issues - shawn_a - 2013-05-22

Surely there is another way to set these options in config.


RE: CKeditor Line Breaks & Indent Issues - shawn_a - 2013-06-04

I propose adding this to 3.2.2 config.js

PHP Code:
CKEDITOR.on'instanceReady', function( ev ) {
    var 
blockTags = ['div','h1','h2','h3','h4','h5','h6','p','pre','li','blockquote','ul','ol','table','thead','tbody','tfoot','td','th',];
    var 
rules = {
        
indent true,
        
breakBeforeOpen true,
        
breakAfterOpen false,
        
breakBeforeClose false,
        
breakAfterClose true
    
};

    for (var 
i=0i<blockTags.lengthi++) {
        
ev.editor.dataProcessor.writer.setRulesblockTags[i], rules );
    }
}); 



RE: CKeditor Line Breaks & Indent Issues - influxweb - 2013-06-04

@Shawn - Sounds like a good idea to me.


RE: CKeditor Line Breaks & Indent Issues - yojoe - 2013-06-04

(2013-06-04, 00:49:52)shawn_a Wrote: I propose adding this to 3.2.2 config.js

This one may prevent from tearing own hair out:
PHP Code:
config.allowedContent true
especially for a bit advanced users


RE: CKeditor Line Breaks & Indent Issues - Connie - 2013-06-04

(2013-06-04, 00:49:52)shawn_a Wrote: I propose adding this to 3.2.2 config.js
...

as I said and suggested ;=)


RE: CKeditor Line Breaks & Indent Issues - shawn_a - 2013-06-04

I mean actual proposal for 3.2.2, thats not the same code just re-pasted, thats the actual code I am adding.

And I bothered testing so it doesn't conflict with existing on ready functions we already have in edit.php and added all the missing block elements.

Does allowed content work in ck3?


RE: CKeditor Line Breaks & Indent Issues - yojoe - 2013-06-05

(2013-06-04, 22:14:24)shawn_a Wrote: Does allowed content work in ck3?

Noez, ACF appeared in v4.1, and I have mixed feelings.
From one hand it's a nice solution for all copy<->pasters, as it cleans the code, but without exceptions, adding f.e. classes to elements won't be possible.

btw. afair there was a discussion about using entities in .xml files now a days, when UTF8 seems to became a wide standard. Having this on mind, CKE would also have to get entities disabled.


RE: CKeditor Line Breaks & Indent Issues - shawn_a - 2013-06-05

Well, this is about ck3, soooo, its irrelevant.

I read something about ckeditor entities, do you have more information ?


RE: CKeditor Line Breaks & Indent Issues - yojoe - 2013-06-05

hmm...I thought 3.2.2 is going to get CKE 4, as I haven't found problems in GS version you have prepared.

As it goes to entities, below parameters disable conversion among the others of extended latin.

PHP Code:
    //disable entities
config.htmlEncodeOutput false
config.entities false

I have tested only with polish and german special chars. Didn't lay my hands on .xml files containing cyrilic or oriental alphabets. I'll try to make a small tests with some chineese like texts to be sure.


RE: CKeditor Line Breaks & Indent Issues - shawn_a - 2013-06-05

No it is not.

So explain what this does, and what problem it fixes, or is it a move towards more standardized data, we use cdata in xml now, so stripslashes is no longer required either. Does this mean we would have to do some encoding on output that we might not be already? Or perhaps decoding we are already doing might have to be removed ?


RE: CKeditor Line Breaks & Indent Issues - millroly - 2013-06-05

In the UK we use the word 'numbwit' to describe someone who cannot see the obvious - I sometimes feel that's me!

I have installed the latest version of GS and 'heyho' when it comes to editing a page I am fighting with the paragraph break and adding colour to text - (editor set to advanced). I am now getting spurious code when I check the source code. Also, the color block is moving to the left and refuses to colour any text. I've used a 'virgin' install extracted from GS 3.2.1 zip with the only alteration being the one line to the gsconfig.php defining it as advanced.

The spurious code is:

<span id="cke_bm_44S" style="display: none;">&nbsp;</span><span style="display: none;">&nbsp;</span><span id="cke_bm_44S" style="display: none;">&nbsp;</span><span style="display: none;">&nbsp;</span>Lorem ipsum dolor sit amet, consectetuer<span style="display: none;">&nbsp;</span><span id="cke_bm_44E" style="display: none;">&nbsp;</span> adipiscing elit.<span style="display: none;">&nbsp;</span><span id="cke_bm_44E" style="display: none;">&nbsp;</span>

Would this be one of the problems expressed by other contributors here?

Roly


RE: CKeditor Line Breaks & Indent Issues - yojoe - 2013-06-05

(2013-06-05, 00:42:04)shawn_a Wrote: No it is not.

So explain what this does, and what problem it fixes, or is it a move towards more standardized data, we use cdata in xml now, so stripslashes is no longer required either. Does this mean we would have to do some encoding on output that we might not be already? Or perhaps decoding we are already doing might have to be removed ?

There's no crushing argument for that.
Some advanced users propounded to store special chars without encoding into entities. Mostly for SEO purposes. But yeah, there were problems with stripslashes afair until GS3.0.
If anyone wants to get some xml data from page files, decoding entities is of course a must, as chars like "< in html tags are encoded anyway (I'm not sure if it's a GS or simplexml lib manner). Thus I assume that language specific chars are also processed with or without converting them by CKE.

I can say that I did not focus on what is being saved in .xml files for long time, as I'm adding some options to CKE's config right after installing GS. It's about CKE 4.1 that got a huge update, and I had to look a bit deeper into it to get rid of some of its irritating behaviours at last. Those which should be default, like line breaks you pointed earlier. But tbh. if one wants to get a beatifuly formatted code, one condition is not enough, and final result depends on many factors, on which most people don't give a single buck.
I think I'm somewhat a html purist.