BStep, on 05 April 2012 - 10:20 AM, said:
http://stackoverflow...t-from-ckeditor
Posted 10 May 2012 - 04:50 PM
BStep, on 05 April 2012 - 10:20 AM, said:
Posted 24 August 2012 - 12:17 PM
Posted 27 August 2012 - 10:49 AM
fonis, on 24 August 2012 - 12:17 PM, said:
Posted 28 August 2012 - 05:56 AM
Posted 10 September 2012 - 10:29 AM
KyleVan, on 28 August 2011 - 09:12 PM, said:
Sampa, on 29 February 2012 - 08:25 AM, said:
BStep, on 04 April 2012 - 03:06 PM, said:
<?php
$form=$this->beginWidget('CActiveForm', array(
'id'=>'note-form',
'enableAjaxValidation'=>false,
'action'=>$model->isNewRecord ? Yii::app()->createUrl('/note/ajaxcreate') : Yii::app()->createUrl('/note/ajaxupdate/'.$model->id)
));
$this->widget('ext.editMe.ExtEditMe', array(
'model'=>$model,
'attribute'=>'text',
'width'=>'460',
'height'=>'250',
'toolbar'=>array(
array(
'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat',
),
array(
'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote',
'-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock',
),
array(
'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo',
),
array(
'Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe'
),
)
));
$this->endWidget();
?>
Sina Aghasi, on 10 May 2012 - 08:59 AM, said:
Posted 10 September 2012 - 10:35 AM
$this->widget('ext.editMe.widgets.ExtEditMe', array(
'name'=>'example',
'value'=>'',
'ckeConfig'=>array('removePlugins'=>'elementspath'),
));
fonis, on 24 August 2012 - 12:17 PM, said:
Posted 29 September 2012 - 06:18 AM
Posted 03 October 2012 - 10:10 AM
Deram, on 29 September 2012 - 06:18 AM, said:
Posted 21 October 2012 - 07:16 PM
Uncaught TypeError: Object [object Object] has no method 'ckeditor'
jQuery('#Gametype_description').ckeditor({'toolbar':[['Source','-','NewPage','DocProps','Preview','-','Templates'],['Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo'],['Find','Replace','-','SelectAll','-','SpellChecker','Scayt'],'/',['Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat'],['NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','BidiLtr','BidiRtl'],['Link','Unlink','Anchor'],['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'],'/',['Styles','Format','Font','FontSize'],['TextColor','BGColor'],['Maximize','ShowBlocks','-','About']],'forcePasteAsPlainText':true,'extraPlugins':'','removeDialogTabs':'','contentsCss':['/yii/skilltournament/assets/9a506277/contents.css'],'resize_enabled':true,'resize_dir':'both','autoGrow_onStartup':false,'language':'','baseHref':'','bodyClass':'','bodyId':'','docType':'<!DOCTYPE html>','filebrowserBrowseUrl':'/yii/skilltournament/resources/js/ckfinder/ckfinder.html','filebrowserFlashBrowseUrl':'/yii/skilltournament/resources/js/ckfinder/ckfinder.html?Type=Flash','filebrowserImageBrowseUrl':'/yii/skilltournament/resources/js/ckfinder/ckfinder.html?Type=Images','filebrowserFlashUploadUrl':'/yii/skilltournament/resources/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash','filebrowserUploadUrl':'','filebrowserImageBrowseLinkUrl':'','filebrowserImageUploadUrl':'/yii/skilltournament/resources/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images','fullPage':false,'height':200,'width':'','uiColor':'','disableNativeSpellChecker':false,'autoUpdateElement':true});
Uncaught TypeError: Object [object Object] has no method 'ckeditor'
<?php
echo $form->labelEx($model,'description');
$this->widget('ext.editMe.widgets.ExtEditMe', array(
'model'=>$model,
'attribute'=>'description',
'resizeMode'=>'both',
'htmlOptions'=>array('maxlength'=>65535, 'class'=>'validate[required,minSize[5],maxSize[65535]]'),
'toolbar'=>
array(
array(
'Source', '-', /*'Save',*/ 'NewPage', 'DocProps', 'Preview', /*'Print',*/ '-', 'Templates',
),
array(
'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo',
),
array(
'Find', 'Replace', '-', 'SelectAll', '-', 'SpellChecker', 'Scayt'
),
/*array(
'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'
),*/
'/',
array(
'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat',
),
array(
'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', 'BidiLtr', 'BidiRtl',
),
array(
'Link', 'Unlink', 'Anchor',
),
array(
'Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe'
),
'/',
array(
'Styles', 'Format', 'Font', 'FontSize',
),
array(
'TextColor', 'BGColor',
),
array(
'Maximize', 'ShowBlocks', '-', 'About',
),
),
'filebrowserBrowseUrl'=>BASEURL.'/resources/js/ckfinder/ckfinder.html',
'filebrowserImageBrowseUrl'=>BASEURL.'/resources/js/ckfinder/ckfinder.html?Type=Images',
'filebrowserFlashBrowseUrl'=>BASEURL.'/resources/js/ckfinder/ckfinder.html?Type=Flash',
'filebrowserImageUploadUrl'=>BASEURL.'/resources/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
'filebrowserFlashUploadUrl'=>BASEURL.'/resources/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash',
));
?>
Posted 24 October 2012 - 02:23 PM
sn4k3, on 21 October 2012 - 07:16 PM, said:
Uncaught TypeError: Object [object Object] has no method 'ckeditor'
jQuery('#Gametype_description').ckeditor({'toolbar':[['Source','-','NewPage','DocProps','Preview','-','Templates'],['Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo'],['Find','Replace','-','SelectAll','-','SpellChecker','Scayt'],'/',['Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat'],['NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','BidiLtr','BidiRtl'],['Link','Unlink','Anchor'],['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'],'/',['Styles','Format','Font','FontSize'],['TextColor','BGColor'],['Maximize','ShowBlocks','-','About']],'forcePasteAsPlainText':true,'extraPlugins':'','removeDialogTabs':'','contentsCss':['/yii/skilltournament/assets/9a506277/contents.css'],'resize_enabled':true,'resize_dir':'both','autoGrow_onStartup':false,'language':'','baseHref':'','bodyClass':'','bodyId':'','docType':'<!DOCTYPE html>','filebrowserBrowseUrl':'/yii/skilltournament/resources/js/ckfinder/ckfinder.html','filebrowserFlashBrowseUrl':'/yii/skilltournament/resources/js/ckfinder/ckfinder.html?Type=Flash','filebrowserImageBrowseUrl':'/yii/skilltournament/resources/js/ckfinder/ckfinder.html?Type=Images','filebrowserFlashUploadUrl':'/yii/skilltournament/resources/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash','filebrowserUploadUrl':'','filebrowserImageBrowseLinkUrl':'','filebrowserImageUploadUrl':'/yii/skilltournament/resources/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images','fullPage':false,'height':200,'width':'','uiColor':'','disableNativeSpellChecker':false,'autoUpdateElement':true});
Uncaught TypeError: Object [object Object] has no method 'ckeditor'
<?php
echo $form->labelEx($model,'description');
$this->widget('ext.editMe.widgets.ExtEditMe', array(
'model'=>$model,
'attribute'=>'description',
'resizeMode'=>'both',
'htmlOptions'=>array('maxlength'=>65535, 'class'=>'validate[required,minSize[5],maxSize[65535]]'),
'toolbar'=>
array(
array(
'Source', '-', /*'Save',*/ 'NewPage', 'DocProps', 'Preview', /*'Print',*/ '-', 'Templates',
),
array(
'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo',
),
array(
'Find', 'Replace', '-', 'SelectAll', '-', 'SpellChecker', 'Scayt'
),
/*array(
'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'
),*/
'/',
array(
'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat',
),
array(
'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', 'BidiLtr', 'BidiRtl',
),
array(
'Link', 'Unlink', 'Anchor',
),
array(
'Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe'
),
'/',
array(
'Styles', 'Format', 'Font', 'FontSize',
),
array(
'TextColor', 'BGColor',
),
array(
'Maximize', 'ShowBlocks', '-', 'About',
),
),
'filebrowserBrowseUrl'=>BASEURL.'/resources/js/ckfinder/ckfinder.html',
'filebrowserImageBrowseUrl'=>BASEURL.'/resources/js/ckfinder/ckfinder.html?Type=Images',
'filebrowserFlashBrowseUrl'=>BASEURL.'/resources/js/ckfinder/ckfinder.html?Type=Flash',
'filebrowserImageUploadUrl'=>BASEURL.'/resources/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
'filebrowserFlashUploadUrl'=>BASEURL.'/resources/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash',
));
?>
Posted 24 October 2012 - 02:47 PM
TeamTPG, on 24 October 2012 - 02:23 PM, said:
<head>
<script type="text/javascript" src="//www.google.com/jsapi"></script><script type="text/javascript">
/*<![CDATA[*/
google.load("jquery","1");
google.load("jqueryui","1");
/*]]>*/
</script> <meta charset="utf-8">
<meta name="noindex" content="robots" />
<link rel="stylesheet" type="text/css" href="/yii/assets/17d84b63/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/yii/assets/17d84b63/css/bootstrap-yii.css" />
<link rel="stylesheet" type="text/css" href="/yii/assets/17d84b63/css/jquery-ui-bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/yii/themes/default/css/application.css" />
<link rel="stylesheet" type="text/css" href="/yii/resources/css/jquery/validation/validationEngine.jquery.css" />
<script type="text/javascript" src="/yii/assets/17d84b63/js/bootstrap.bootbox.min.js"></script>
<script type="text/javascript" src="/yii/assets/17d84b63/js/bootstrap.js"></script>
<script type="text/javascript" src="/yii/assets/9a506277/5db8134c4f58c1847e80e78fe3074d9f.js"></script>
<script type="text/javascript" src="/yii/assets/9a506277/ckeditor.js"></script>
<title>Create Gametype</title>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
Posted 25 October 2012 - 07:08 AM
$oldScriptMap = Yii::app() -> clientScript -> scriptMap; Yii::app() -> clientScript -> scriptMap = array();
Yii::app() -> clientScript -> scriptMap = $oldScriptMap;
sn4k3, on 24 October 2012 - 02:47 PM, said:
<head>
<script type="text/javascript" src="//www.google.com/jsapi"></script><script type="text/javascript">
/*<![CDATA[*/
google.load("jquery","1");
google.load("jqueryui","1");
/*]]>*/
</script> <meta charset="utf-8">
<meta name="noindex" content="robots" />
<link rel="stylesheet" type="text/css" href="/yii/assets/17d84b63/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/yii/assets/17d84b63/css/bootstrap-yii.css" />
<link rel="stylesheet" type="text/css" href="/yii/assets/17d84b63/css/jquery-ui-bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/yii/themes/default/css/application.css" />
<link rel="stylesheet" type="text/css" href="/yii/resources/css/jquery/validation/validationEngine.jquery.css" />
<script type="text/javascript" src="/yii/assets/17d84b63/js/bootstrap.bootbox.min.js"></script>
<script type="text/javascript" src="/yii/assets/17d84b63/js/bootstrap.js"></script>
<script type="text/javascript" src="/yii/assets/9a506277/5db8134c4f58c1847e80e78fe3074d9f.js"></script>
<script type="text/javascript" src="/yii/assets/9a506277/ckeditor.js"></script>
<title>Create Gametype</title>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
Posted 25 October 2012 - 03:02 PM
$oldScriptMap = Yii::app()->clientScript->scriptMap;
Yii::app()->clientScript->scriptMap = array();
echo $form->labelEx($model,'description');
$this->widget('ext.editMe.widgets.ExtEditMe', array(
...
...
<script type="text/javascript" src="/yii/skill/assets/9a506277/adapters/jquery.js"></script>
Posted 29 October 2012 - 11:54 AM
Posted 31 October 2012 - 11:23 AM
Posted 01 November 2012 - 12:13 PM
Yii::app() -> clientScript -> scriptMap = $oldScriptMap;
Yii::app() -> clientScript -> scriptMap['jquery.js'] = false;
sn4k3, on 25 October 2012 - 03:02 PM, said:
$oldScriptMap = Yii::app()->clientScript->scriptMap;
Yii::app()->clientScript->scriptMap = array();
echo $form->labelEx($model,'description');
$this->widget('ext.editMe.widgets.ExtEditMe', array(
...
...
<script type="text/javascript" src="/yii/skill/assets/9a506277/adapters/jquery.js"></script>
Posted 01 November 2012 - 12:17 PM
fonis, on 31 October 2012 - 11:23 AM, said:
Posted 01 November 2012 - 12:21 PM
Giacomo, on 29 October 2012 - 11:54 AM, said: