Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl

Ok I finally worked out all of the kinks FOR NOW.

Here is my link to the editor file (include on the page that I am using to edit 
the content) 


The CONFIG file that I added my customizations to is: 
/ckeditor/ckeditor/config.js

Here is my config.js file:

/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

/*CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
};
*/


CKEDITOR.editorConfig = function( config )
{
   // Define changes to default configuration here. For example:
   // config.language = 'fr';
   // config.skin = 'office2003';
   //config.removePlugins =  
'elementspath,enterkey,entities,forms,pastefromword,htmldataprocessor,specialchar'
 ;
   config.removePlugins =  
'elementspath,enterkey,entities,forms,pastefromword,htmldataprocessor,specialchar,horizontalrule,wsc'
 ;
   config.skin = 'office2003';
   config.FormatSource = false ;
   config.FormatOutput = false ;
   config.enterMode = 2;
   //config.toolbar = 'Basic';
   config.protectedSource.push( /<\?[\s\S]*?\?>/g ); 
config.protectedSource.push(/[^<]*(([^<]+)<\/h1>)/g);
config.protectedSource.push( //g ); 
config.protectedSource.push( //g );   // BR Tags
config.protectedSource.push( //g );   // IMG Tags
config.protectedSource.push( /{exp:[\s\S]*?{\/exp:[^\}]+}/g );// 
Expression Engine style server side code 
config.protectedSource.push( /{.*?}/g);
config.protectedSource.push( //g);
config.protectedSource.push( //g); // 
Protects  tags 
config.protectedSource.push( //g); // Protects 

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl

So the editor is no longer displacing my tags. BUT it is adding closing 
cfinvoke and cfincludes to the bottom of the page.


All of the tags are closed like so 

Any ideas?




> Hi All I have had a year long headache with ckeditor and it changing 
> my CF code.
> 
> I got around the issue for a while by using a straight text area to 
> enter code in the DB.
> 
> Now other users will be using the system and I need to get the text 
> editor to work.
> 
> I STILL have not been able to figure out how to stop this thing from 
> editing my CF code and I am beyond frustrated with it.
> 
> I tried installing tinyMCE (sp?) and it did the same thing.
> 
> Has anyone installed and used ckeditor properly with Coldfusion to 
> where it is keeping your CF code in tact?
> 
> I will pay for your help (that is how desperate I am)
> 
> Thank you! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349445
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl

Ok so I added the protected.source code and that worked! (???) I had that 
before and it didn't work. Maybe I had it on the wrong config file. There are 
two.

config.protectedSource.push( /<\?[\s\S]*?\?>/g ); 
config.protectedSource.push(/[^<]*(([^<]+)<\/h1>)/g);
config.protectedSource.push( //g);
config.protectedSource.push( //g ); 
config.protectedSource.push( //g );   // BR Tags
config.protectedSource.push( //g );   // IMG Tags
config.protectedSource.push( /{exp:[\s\S]*?{\/exp:[^\}]+}/g );// 
Expression Engine style server side code 
config.protectedSource.push( /{.*?}/g);
config.protectedSource.push( //g);
config.protectedSource.push( //g); // 
Protects  tags 
config.protectedSource.push( //g); // Protects 

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl

Ok I added ending tags to  and  and that seemed to help a 
bit.

My  are still out of place. It places them under the first  
tag like so:


 
 
 


There is code that is supposed to be within each loop.




> Hi All I have had a year long headache with ckeditor and it changing 
> my CF code.
> 
> I got around the issue for a while by using a straight text area to 
> enter code in the DB.
> 
> Now other users will be using the system and I need to get the text 
> editor to work.
> 
> I STILL have not been able to figure out how to stop this thing from 
> editing my CF code and I am beyond frustrated with it.
> 
> I tried installing tinyMCE (sp?) and it did the same thing.
> 
> Has anyone installed and used ckeditor properly with Coldfusion to 
> where it is keeping your CF code in tact?
> 
> I will pay for your help (that is how desperate I am)
> 
> Thank you! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349431
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl

I added the removePlugin line and still no luck:


It just lines everything up nicely (see below) but my tags are still out of 
place:

 
 

 
 

 
 



Here is what the very end of my file looks like:






I am going to try adding closing tags on all of my includes and invokes to see 
if that works. It seems like that is what it is trying to do - close tags.






have you tried adding
>config.removePlugins = 'htmldataprocessor';
>?
>it is not 'recommended', as it will stop validating/fixing invalid
>html code, but may do the trick in your case. have not tried it,
>though myself...
>
>Azadi
>
>On Thu, Jan 12, 2012 at 03:37, Torrent Girl  wrote:
>> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349430
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl

Dean when I add the script code to my file, it's grayed out and Dreamweaver 
gives me a script error alert.

I am adding it to the top of my editortest.cfm page



> >
> 
> I got this to work. I am calling CKEditor as such.
> 
> 
>   //   $(function()
>   {
>   var config = {
>   customConfig : '/config/RichEditorConfig.js',
>   toolbar: 'clientFull',
>   height : 350
>   };
>   
>   var editor = $('.jquery_ckeditor').ckeditor(config);
>   CKFinder.setupCKEditor(null, "/admin/ckfinder/");
>   
>   });
>   //]]>
> 
> 
> In my external config file, RichEditorConfig.js, I define my settings
> and I just added additional writer settings to work with some of the
> tags. This is what it looks like:
> 
> CKEDITOR.editorConfig = function( config )
> {
>   config.forcePasteAsPlainText = true;
>   config.pasteFromWordNumberedHeadingToList = true;
>   config.pasteFromWordRemoveFontStyles = true;
>   config.pasteFromWordRemoveStyles = true;
>   config.disableNativeSpellChecker = false;
>   config.filebrowserUploadUrl = '',
>   config.filebrowserImageUploadUrl = '',
>   config.filebrowserFlashUploadUrl = '',
> 
>   config.toolbar_clientFull =
>   [
>   ['Source'],
>   ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print',
> 'SpellChecker', 'Scayt'],
>   ['Undo','Redo','-','Find','Replace','-','SelectAll',
> 'RemoveFormat'],
>   ['Link','Unlink','Anchor'],
>   '/',
>   ['Bold','Italic','Underline','Strike','-','Subscript',
> 'Superscript'],
>   ['NumberedList','BulletedList','-','Outdent','Indent',
> 'Blockquote','CreateDiv'],
>   ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
>   ['Image','Table','HorizontalRule','SpecialChar','PageBreak'],
>   '/',
>   ['Styles','Format','Font','FontSize'],
>   ['TextColor','BGColor'],
>   ['Maximize', 'ShowBlocks','-','About']
>   ];
>   config.toolbar_clientMin =
>   [
>   
> ['TextColor','Bold','Italic','Underline','Strike','NumberedList',
> 'BulletedList','Link','Unlink','-','Source','Maximize']
>   ] ;
> 
>   config.toolbar_idt =
>   [
>   ['Source','-','Cut','Copy','Paste','-','Undo','Redo','-','Find',
> 'Replace','-','SpecialChar','-','About'],
>   ['Bold','Italic','Underline','Rule','-','JustifyCenter',
> 'JustifyRight','UnorderedList','OrderedList','-','Outdent','Indent',
> '-','Table','Link','Unlink','Anchor','-','TextColor','BGColor'],
>   ['FontFormat','FontName','FontSize','Templates']
>   ] ;
>   config.toolbar_idtMin =
>   [
>   ['Cut','Copy','Paste','-','Undo','Redo','-','Bold','Italic',
> 'Underline','Rule','-','JustifyCenter','JustifyRight','UnorderedList',
> 'OrderedList','-','Outdent','Indent','-','Link','Unlink'],
>   ['FontFormat','FontName','FontSize','Templates']
>   ] ;
> };
> 
> CKEDITOR.on( 'instanceReady', function( ev )
>   {
>   ev.editor.dataProcessor.writer.setRules('cfinvoke',
>   {
>   indent  : false,
>   breakBeforeOpen : true,
>   breakAfterOpen  : false,
>   breakBeforeClose: false,
>   breakAfterClose : true
>   }
>   );
>   ev.editor.dataProcessor.writer.setRules('output',
>   {
>   indent  : false,
>   breakBeforeOpen : true,
>   breakAfterOpen  : false,
>   breakBeforeClose: false,
>   breakAfterClose : true
>   }
>   );
>   ev.editor.dataProcessor.writer.setRules('cfinclude',
>   {
>   indent  : false,
>   breakBeforeOpen : true,
>   breakAfterOpen  : false,
>   breakBeforeClose: false,
>   breakAfterClose : true
>   }
>   );
>   ev.editor.dataProcessor.writer.setRules('p',
>   {
>   indent  : true,
>   breakBeforeOpen : true,
>   breakAfterOpen  : false,
>   

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Azadi Saryev

have you tried adding
config.removePlugins = 'htmldataprocessor';
?
it is not 'recommended', as it will stop validating/fixing invalid
html code, but may do the trick in your case. have not tried it,
though myself...

Azadi

On Thu, Jan 12, 2012 at 03:37, Torrent Girl  wrote:
>
>
> Thank you. But once again, the proper syntax is not included.
>
> I added the following and it doesn't work. I'm sure I have the wrong context 
> tho
>
>  
>       CKEDITOR.replace( '#content.englishText#', {
>          on : {
>             instanceReady : function( ev ) {
>                this.dataProcessor.writer.setRules( 'cfoutput', {
>                      indent : false,
>                      breakBeforeOpen : false,
>                      breakAfterOpen : false,
>                      breakBeforeClose : false,
>                      breakAfterClose : true
>                   });
>             }
>          },
>          customConfig : '../ckeditor/ckeditor/ckeditor.js',
>       });
>    
>
>  name="editor1">#content.englishText#
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349421
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Dean Lawrence

>
> Thank you. But once again, the proper syntax is not included.
>

I got this to work. I am calling CKEditor as such.


//


In my external config file, RichEditorConfig.js, I define my settings
and I just added additional writer settings to work with some of the
tags. This is what it looks like:

CKEDITOR.editorConfig = function( config )
{
config.forcePasteAsPlainText = true;
config.pasteFromWordNumberedHeadingToList = true;
config.pasteFromWordRemoveFontStyles = true;
config.pasteFromWordRemoveStyles = true;
config.disableNativeSpellChecker = false;
config.filebrowserUploadUrl = '',
config.filebrowserImageUploadUrl = '',
config.filebrowserFlashUploadUrl = '',

config.toolbar_clientFull =
[
['Source'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print',
'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Link','Unlink','Anchor'],
'/',

['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],

['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Image','Table','HorizontalRule','SpecialChar','PageBreak'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor'],
['Maximize', 'ShowBlocks','-','About']
];
config.toolbar_clientMin =
[

['TextColor','Bold','Italic','Underline','Strike','NumberedList','BulletedList','Link','Unlink','-','Source','Maximize']
] ;

config.toolbar_idt =
[

['Source','-','Cut','Copy','Paste','-','Undo','Redo','-','Find','Replace','-','SpecialChar','-','About'],

['Bold','Italic','Underline','Rule','-','JustifyCenter','JustifyRight','UnorderedList','OrderedList','-','Outdent','Indent','-','Table','Link','Unlink','Anchor','-','TextColor','BGColor'],
['FontFormat','FontName','FontSize','Templates']
] ;
config.toolbar_idtMin =
[

['Cut','Copy','Paste','-','Undo','Redo','-','Bold','Italic','Underline','Rule','-','JustifyCenter','JustifyRight','UnorderedList','OrderedList','-','Outdent','Indent','-','Link','Unlink'],
['FontFormat','FontName','FontSize','Templates']
] ;
};

CKEDITOR.on( 'instanceReady', function( ev )
{
ev.editor.dataProcessor.writer.setRules('cfinvoke',
{
indent  : false,
breakBeforeOpen : true,
breakAfterOpen  : false,
breakBeforeClose: false,
breakAfterClose : true
}
);
ev.editor.dataProcessor.writer.setRules('output',
{
indent  : false,
breakBeforeOpen : true,
breakAfterOpen  : false,
breakBeforeClose: false,
breakAfterClose : true
}
);
ev.editor.dataProcessor.writer.setRules('cfinclude',
{
indent  : false,
breakBeforeOpen : true,
breakAfterOpen  : false,
breakBeforeClose: false,
breakAfterClose : true
}
);
ev.editor.dataProcessor.writer.setRules('p',
{
indent  : true,
breakBeforeOpen : true,
breakAfterOpen  : false,
breakBeforeClose: false,
breakAfterClose : true
}
);

RE: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Phillips, Dave

Shouldn't your second line be:

CKEDITOR.replace( '#content.englishText#', {

Dave Phillips

-Original Message-
From: Torrent Girl [mailto:moniqueb...@gmail.com] 
Sent: Wednesday, January 11, 2012 1:38 PM
To: cf-talk
Subject: Re: anyone using ckeditor? I will PAY you for your help!


Thank you. But once again, the proper syntax is not included.

I added the following and it doesn't work. I'm sure I have the wrong context tho

 
   CKEDITOR.replace( '#content.englishText#', {
  on : {
 instanceReady : function( ev ) {
this.dataProcessor.writer.setRules( 'cfoutput', {
  indent : false,
  breakBeforeOpen : false,
  breakAfterOpen : false,
  breakBeforeClose : false,
  breakAfterClose : true
   });
 }
  },
  customConfig : '../ckeditor/ckeditor/ckeditor.js',
   });


#content.englishText#




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349417
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl

Thank you. But once again, the proper syntax is not included.

I added the following and it doesn't work. I'm sure I have the wrong context tho

 
   CKEDITOR.replace( '#content.englishText#', {
  on : {
 instanceReady : function( ev ) {
this.dataProcessor.writer.setRules( 'cfoutput', {
  indent : false,
  breakBeforeOpen : false,
  breakAfterOpen : false,
  breakBeforeClose : false,
  breakAfterClose : true
   });
 }
  },
  customConfig : '../ckeditor/ckeditor/ckeditor.js',
   });


#content.englishText#


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349416
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Dean Lawrence

You are correct in the way that you were trying to implement this in
the config file (or better yet, in an external config file that
overrides the base config file). The problem is, is that it is not
what you are looking for. I misunderstood your original post, in that
I thought that CKEditor was actually replacing your tags. That is what
the protectedSource option is for. It tells the editor not to modify
the tag itself. The issue that you are having is a formatting issue.
That is handled by CKEDITOR.dataProcessor and is apparently
configurable. If you take a look at this forum page and scroll all the
way to the bottom, the last post shows an example of how to change the
formatting rules.
(http://cksource.com/forums/viewtopic.php?f=6&t=14613&start=10#wrap)

There is also a closed trouble ticket that has some discussion
regarding the same thing. (http://dev.ckeditor.com/ticket/3260)

Here is the API page
(http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dataProcessor.html)
and the docs page
(http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Data_Processor)
for the dataProcessor.

I've never liked their documentation as there examples are always
pretty skimpy. I've never played with the dataProcessor, so
unfortunately, I don't have anything that I could share with you.

Good luck,

Dean

On Wed, Jan 11, 2012 at 12:55 PM, Torrent Girl  wrote:
>
> How do I do this?
>
> He means the editor must be set to HTML mode in order to enter and change 
> text that contains HTML.
>
> How and where do I set the editor to html mode?
>
>
> So here is what I do:
>
> The content is saved in the DB.
>
> I open a page (editPage.cfm)
> Pull the content from the DB and display it on the page via the form.
> IF I view source,
>
> THIS
>
> 
>  
>  
>    
>  
>  
>
>  
>    
>      
>
>        
>        
>        
>
>        
>
>          
>
>           returnvariable="founders" />
>           returnvariable="developers" />
>           returnvariable="advisors" />
>          The CITI Program's content has been produced by a diverse team of 
> research professionals from around the world, including university-affiliated 
> administrators and faculty, independent research professionals, and 
> representatives from U.S. federal agencies. . This group of content 
> developers is dedicated to providing the highest-quality educational 
> materials for our learners, and is lead by the CITI Program Founders and the 
> CITI Program's Executive Advisory Committee.
>            
>          
>            
>              
>                CITI Program 
> Founders
>              
>              
>
>                  
>                    #name#
>                    #company#
>                  
>
>              
>              
>                 
>              
>              
>                CITI Program Executive 
> Advisory Committee 
>              
>              
>
>                  
>                    #name#
>                    #company#
>                  
>
>              
>              
>                 
>              
>              
>                The co-founders are provided guidance and 
> advice from the CITI Executive Advisory Committee chaired by Ernest Prentice 
> Ph.D. 
>                  
>                  The CITI Program remains dynamic and responsive to the needs 
> of our learners thanks to the efforts of the CITI Program Developer Group. 
> The Group meets periodically to review the courses, make editorial changes 
> and to develop new initiatives for the CITI Program. 
>                  
>              
>              
>                CITI Developers' 
> Group
>              
>              
>
>                  
>                    #name#
>                    #institution#
>                  
>
>              
>              
>                 
>              
>            
>          
>           
>          
>
>        
>      
>    
>  
> 
> 
>
>
>
> Is changed to this:
>
> 
>        
>        
>                 
> 
>        
>        
>                
>                        
>                                 template="../includes/leftNav.cfm"> 
>                                
>                                         returnvariable="founders">  method="getDevelopers" returnvariable="developers">  component="cfc.citi" method="getAdvisors" returnvariable="advisors">
>                                        
>                                                The CITI Program's content 
> has been produced by a diverse team of research professionals from around the 
> world, including university-affiliated administrators and faculty, 
> independent research professionals, and representatives from U.S. federal 
> agencies. . This group of content developers is dedicated to providing the 
> highest-quality educational materials for our learners, and is lead by the 
> CITI Program Founders and the CITI Program's Executive Advisory 
> Committee.
>                                          
>   

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Bryan Stevenson

On Wed, 2012-01-11 at 12:55 -0500, Torrent Girl wrote:

> How do I do this?
> 
> He means the editor must be set to HTML mode in order to enter and change 
> text that contains HTML.
> 
> How and where do I set the editor to html mode?


Perhaps I'm confusing CFTEXTAREA that makes use of FCKEditor under the
hood, but there was an attribute for that tag that allowed me to
indicate plain text or HTML.

So CKEditor may handle that in another way.or the CFTEXTAREA tag
needed that attribute so it could behave like a regular text are OR an
HTML editor (and CKEditor is simply always in HTML mode)

Sorry for any confusion in the event there was any ;-)

By your example, yessomething beyond escapement seems to be
happening.  Or perhaps a single point in the text/code you've entered is
not parsing correctly and thus through the whole lot into a tailspin.

Believe meI too hate documentation that doesn't even provide a
friggin example after the explanation!! ;-)

Cheers


-- 


Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: br...@electricedgesystems.com
web: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349412
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl

How do I do this?

He means the editor must be set to HTML mode in order to enter and change text 
that contains HTML.

How and where do I set the editor to html mode?


So here is what I do:

The content is saved in the DB.

I open a page (editPage.cfm)
Pull the content from the DB and display it on the page via the form.
IF I view source, 

THIS

 
  
  

  
  
  
  

   





 
  
  
  
  
  
  
  The CITI Program's content has been produced by a diverse team of 
research professionals from around the world, including university-affiliated 
administrators and faculty, independent research professionals, and 
representatives from U.S. federal agencies. . This group of content developers 
is dedicated to providing the highest-quality educational materials for our 
learners, and is lead by the CITI Program Founders and the CITI Program's 
Executive Advisory Committee.

  

  
CITI Program 
Founders
  
  
  
  
#name#
#company#
  
 
  
  
 
  
  
CITI Program Executive Advisory 
Committee 
  
  
  
  
#name#
#company#
  
 
  
  
 
  
  
The co-founders are provided guidance and 
advice from the CITI Executive Advisory Committee chaired by Ernest Prentice 
Ph.D. 
  
  The CITI Program remains dynamic and responsive to the needs 
of our learners thanks to the efforts of the CITI Program Developer Group. The 
Group meets periodically to review the courses, make editorial changes and to 
develop new initiatives for the CITI Program. 
  
  
  
CITI Developers' 
Group
  
  

  
#name#
#institution#
  
   
  
  
 
  

  
   
   
  

  

  

 



Is changed to this:




 





 

  

The CITI Program's content 
has been produced by a diverse team of research professionals from around the 
world, including university-affiliated administrators and faculty, independent 
research professionals, and representatives from U.S. federal agencies. . This 
group of content developers is dedicated to providing the highest-quality 
educational materials for our learners, and is lead by the CITI Program 
Founders and the CITI Program's Executive Advisory Committee.
  
  
  




CITI Program Founders




#name#


#company#




 



CITI Program Executive Advisory Committee 




#name#


#company#
  

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Bryan Stevenson

On Wed, 2012-01-11 at 10:03 -0500, Torrent Girl wrote:

> When you say change it to edit mode what do you mean? Do you mean hit "View 
> Source"?
> 
> If so that is what I am doing and where I see the code distorted.


He means the editor must be set to HTML mode in order to enter and
change text that contains HTML.

When in that mode (set at the CK editor  tag itself as an
attributenot in a config file if memory serves) it will escape "<"
and ">" and other such escapements so that when the text is displayed in
the edoitor it doesn't cause problems.

If you are viewing source on the page to assess what the editor is going
to save to the DB, you are most likely see crap as you are
reporting.but that "crap" should display properly in the editor when
pulled from the DB and shown.

It really would be best to:

1) show us what you type

2) explain the steps to re-create what you are thinking is wrong (i.e.
then saved the contents to the database.then pulled fom DB and
displayed in editor.when complete I saw XYZ and it is wrong because
of ABC being out of place).

If we had the end to end steps we may be better able to help.

Best of luck

Cheers

-- 


Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: br...@electricedgesystems.com
web: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349399
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl

Here is the line in the core/config.js file where the protected tags are 
defined:

/**
 * List of regular expressions to be executed on input HTML,
 * indicating HTML source code that when matched, must 
not be available in the WYSIWYG
 * mode for editing.
 * @type Array
 * @default [] (empty array)
 * @example
 * config.protectedSource.push( /<\?[\s\S]*?\?>/g );   // PHP code
 * config.protectedSource.push( /<%[\s\S]*?%>/g );   // ASP code
 * config.protectedSource.push( 
/(]+>[\s|\S]*?<\/asp:[^\>]+>)|(]+\/>)/gi );   // ASP.Net code
 */
protectedSource : [],



Where do I put my code? In the []? Is so what is the syntax??







> I have a few cfloops within one cfoutput tag. It changes it to this:
> 
> cfloop query="founders">   query="advisors">   query="developers">  
> 
> 
> When you say change it to edit mode what do you mean? Do you mean hit 
> "View Source"?
> 
> If so that is what I am doing and where I see the code distorted.
> 
> 
> 
> 
> 
> >are you perhaps referring to it changing
> >
> >
> >
> >to
> >
> >
> >
> >if so then this is the correct behaviour if you put code into a 
> WYSIWYG
> >editor.
> >you would need to use the HTML mode to do this,
> >
> >On Wed, Jan 11, 2012 at 9:39 AM, Nick Gleason  com>wrote:
> >
> >> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349397
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl

Well the code that is in the editor has CF code in it. The users will only edit 
the actual text. But when I view source, the code is distored into a mess.

If I have cfloop and/or cfoutput tags, they are misplaced which of course 
breaks the code.



>Are you trying to enter CF code into the editor and expect it to come
>through intact?
>
>There is quite a community of tech-savvy users on the CKEditor forum - have
>you checked there?  It includes some CF people.
>
>Cheers
>Mike Kear
>Windsor, NSW, Australia
>Adobe Certified Advanced ColdFusion Developer
>AFP Webworks
>http://afpwebworks.com
>ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
>
>On Wed, Jan 11, 2012 at 11:51 AM, Torrent Girl wrote:
>
>> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349395
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl

Thanks Dean. I saw this link, I added the protected sources and it still 
doesn't work.


Here is the correct: 
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.protectedSource

They just tell you to add the lines of code. They don't give you the correct 
syntax so I probably have it wrong.



> You should take a look at the protectedSource method in the config
> settings (http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.
> config.html#.protectedSource).
> This allows you to use regular expressions to specify which tags
> should not be affected by the editor.
> 
> On Tue, Jan 10, 2012 at 7:51 PM, Torrent Girl  
> wrote:
> >
> > Hi All I have had a year long headache with ckeditor and it changing 
> my CF code.
> >
> > I got around the issue for a while by using a straight text area to 
> enter code in the DB.
> >
> > Now other users will be using the system and I need to get the text 
> editor to work.
> >
> > I STILL have not been able to figure out how to stop this thing from 
> editing my CF code and I am beyond frustrated with it.
> >
> > I tried installing tinyMCE (sp?) and it did the same thing.
> >
> > Has anyone installed and used ckeditor properly with Coldfusion to 
> where it is keeping your CF code in tact?
> >
> > I will pay for your help (that is how desperate I am)
> >
> > Thank you!
> >
> > 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349392
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl

I have a few cfloops within one cfoutput tag. It changes it to this:

cfloop query="founders"> 
 


When you say change it to edit mode what do you mean? Do you mean hit "View 
Source"?

If so that is what I am doing and where I see the code distorted.





>are you perhaps referring to it changing
>
>
>
>to
>
>
>
>if so then this is the correct behaviour if you put code into a WYSIWYG
>editor.
>you would need to use the HTML mode to do this,
>
>On Wed, Jan 11, 2012 at 9:39 AM, Nick Gleason wrote:
>
>> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349394
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl

Here is what I have in my config file but I am sure the syntax is off...I had 
to guess at it because they don't tell you how to add it.


I HATE will companies don't provide proper documentation

protectedSource : [
config.protectedSource.push(/[^<]*(([^<]+)<\/h1>)/g),
config.protectedSource.push( //g),
config.protectedSource.push( //g),
config.protectedSource.push( /<\/cf[\s\S]*?>/g),
config.protectedSource.push( /<\/a>/g ) ,
config.protectedSource.push( //g ) , 
config.protectedSource.push( //g ) ,   // BR Tags
config.protectedSource.push( //g ) ,   // IMG Tags
config.protectedSource.push( /{exp:[\s\S]*?{\/exp:[^\}]+}/g ) ,// 
Expression Engine style server side code 
config.protectedSource.push( /{.*?}/g ) ,
config.protectedSource.push( //g ),
config.protectedSource.push( //g ) , // Protects 
 tags 
config.protectedSource.push( //g ) , // Protects 

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl

>Hi there.  We've had the same experience as others.  We use it for HTML
>editing but haven't tried it for CF code.  My assumption has always been
>that it would not accept scripting language directly, but that may be wrong.
>
>If you are frustrated about it changing around your HTML or not following
>the expected keyboard commands, we have some experience with that.
>
>Best,
>
>Nick
>
>
>..
> 
>CitySoft, Inc. | http://www.citysoft.com
> 
>Spend Less >> Do More - Community Enterprise combines great features 
>with an affordable price.
>
>
>.. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349391
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Russ Michaels

are you perhaps referring to it changing



to



if so then this is the correct behaviour if you put code into a WYSIWYG
editor.
you would need to use the HTML mode to do this,

On Wed, Jan 11, 2012 at 9:39 AM, Nick Gleason wrote:

>
> Hi there.  We've had the same experience as others.  We use it for HTML
> editing but haven't tried it for CF code.  My assumption has always been
> that it would not accept scripting language directly, but that may be
> wrong.
>
> If you are frustrated about it changing around your HTML or not following
> the expected keyboard commands, we have some experience with that.
>
> Best,
>
> Nick
>
>
> 
> ..
>
> CitySoft, Inc. | http://www.citysoft.com
>
> Spend Less >> Do More - Community Enterprise combines great features
> with an affordable price.
>
>
> 
> ..
>
>
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349388
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Nick Gleason

Hi there.  We've had the same experience as others.  We use it for HTML
editing but haven't tried it for CF code.  My assumption has always been
that it would not accept scripting language directly, but that may be wrong.

If you are frustrated about it changing around your HTML or not following
the expected keyboard commands, we have some experience with that.

Best,

Nick


..
 
CitySoft, Inc. | http://www.citysoft.com
 
Spend Less >> Do More - Community Enterprise combines great features 
with an affordable price.


..





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349387
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-10 Thread Dean Lawrence

You should take a look at the protectedSource method in the config
settings 
(http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.protectedSource).
This allows you to use regular expressions to specify which tags
should not be affected by the editor.

On Tue, Jan 10, 2012 at 7:51 PM, Torrent Girl  wrote:
>
> Hi All I have had a year long headache with ckeditor and it changing my CF 
> code.
>
> I got around the issue for a while by using a straight text area to enter 
> code in the DB.
>
> Now other users will be using the system and I need to get the text editor to 
> work.
>
> I STILL have not been able to figure out how to stop this thing from editing 
> my CF code and I am beyond frustrated with it.
>
> I tried installing tinyMCE (sp?) and it did the same thing.
>
> Has anyone installed and used ckeditor properly with Coldfusion to where it 
> is keeping your CF code in tact?
>
> I will pay for your help (that is how desperate I am)
>
> Thank you!
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349386
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-10 Thread Russ Michaels

both ckeditor and TinyMCE have filters to disallow.remove dangerous tags
and content.
If you are using the editor to edit CFML code, then it would get changed.
So you need to change the default settings.
The easiest way would be to just set it to allow everything, or set the
disallow list to nothing.
I don't know the syntax of fthe top of my head, but it id definitely there
in the docs as I have done this myself in the past

On Wed, Jan 11, 2012 at 12:51 AM, Torrent Girl wrote:

>
> Hi All I have had a year long headache with ckeditor and it changing my CF
> code.
>
> I got around the issue for a while by using a straight text area to enter
> code in the DB.
>
> Now other users will be using the system and I need to get the text editor
> to work.
>
> I STILL have not been able to figure out how to stop this thing from
> editing my CF code and I am beyond frustrated with it.
>
> I tried installing tinyMCE (sp?) and it did the same thing.
>
> Has anyone installed and used ckeditor properly with Coldfusion to where
> it is keeping your CF code in tact?
>
> I will pay for your help (that is how desperate I am)
>
> Thank you!
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349385
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: anyone using ckeditor? I will PAY you for your help!

2012-01-10 Thread Mike Kear

Are you trying to enter CF code into the editor and expect it to come
through intact?

There is quite a community of tech-savvy users on the CKEditor forum - have
you checked there?  It includes some CF people.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month

On Wed, Jan 11, 2012 at 11:51 AM, Torrent Girl wrote:

>
> Hi All I have had a year long headache with ckeditor and it changing my CF
> code.
>
> I got around the issue for a while by using a straight text area to enter
> code in the DB.
>
> Now other users will be using the system and I need to get the text editor
> to work.
>
> I STILL have not been able to figure out how to stop this thing from
> editing my CF code and I am beyond frustrated with it.
>
> I tried installing tinyMCE (sp?) and it did the same thing.
>
> Has anyone installed and used ckeditor properly with Coldfusion to where
> it is keeping your CF code in tact?
>
> I will pay for your help (that is how desperate I am)
>
> Thank you!
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349384
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm