Ckeditor在国外没有出现
Ckeditor doesn't appear at foreign countries
你好,这是我的 js 配置文件
CKEDITOR.replace( 'detay',
{
filebrowserUploadUrl : "../uploader.php?type=files",
filebrowserImageUploadUrl : "../uploader.php?type=images",
filebrowserFlashUploadUrl : "../uploader.php?type=flash",
language: 'az',
// Remove unused plugins.
removePlugins :'bidi,button,dialogadvtab,div,forms,horizontalrule,iframe,indent,pagebreak,showborders,stylescombo,table,tabletools,templates',
// Width and height are not supported in the BBCode format, so object resizing is disabled.
// Define font sizes in percent values.
fontSize_sizes : "30/30%;50/50%;100/100%;120/120%;150/150%;200/200%;300/300%",
toolbar :
[
['Bold', 'Italic','Underline'],
['FontSize'],
['TextColor'],
['Link', 'Unlink', 'Image', 'SpecialChar'],
['NumberedList','BulletedList'],
['Find','Replace','-','SelectAll','RemoveFormat'],
['Source', 'Undo','Redo'],
['Maximize']
],
} );
这是HTML:
<label for="detay"></label>
<textarea id="noise" name="detay"></textarea>
<script type="text/javascript" src="../js/ckayar.js"></script>
它适用于我的国家(土耳其),但在其他国家(土耳其除外)此代码不起作用,文本区域不显示。
我能为这个问题做什么。
CKEditor 中没有 "az" 语言,所以它恢复到检测用户的语言,我敢打赌你已经删除了除土耳其语之外的所有 lang 文件,所以它找不到 lang 文件和您在浏览器控制台中收到错误消息。
你好,这是我的 js 配置文件
CKEDITOR.replace( 'detay',
{
filebrowserUploadUrl : "../uploader.php?type=files",
filebrowserImageUploadUrl : "../uploader.php?type=images",
filebrowserFlashUploadUrl : "../uploader.php?type=flash",
language: 'az',
// Remove unused plugins.
removePlugins :'bidi,button,dialogadvtab,div,forms,horizontalrule,iframe,indent,pagebreak,showborders,stylescombo,table,tabletools,templates',
// Width and height are not supported in the BBCode format, so object resizing is disabled.
// Define font sizes in percent values.
fontSize_sizes : "30/30%;50/50%;100/100%;120/120%;150/150%;200/200%;300/300%",
toolbar :
[
['Bold', 'Italic','Underline'],
['FontSize'],
['TextColor'],
['Link', 'Unlink', 'Image', 'SpecialChar'],
['NumberedList','BulletedList'],
['Find','Replace','-','SelectAll','RemoveFormat'],
['Source', 'Undo','Redo'],
['Maximize']
],
} );
这是HTML:
<label for="detay"></label>
<textarea id="noise" name="detay"></textarea>
<script type="text/javascript" src="../js/ckayar.js"></script>
它适用于我的国家(土耳其),但在其他国家(土耳其除外)此代码不起作用,文本区域不显示。 我能为这个问题做什么。
CKEditor 中没有 "az" 语言,所以它恢复到检测用户的语言,我敢打赌你已经删除了除土耳其语之外的所有 lang 文件,所以它找不到 lang 文件和您在浏览器控制台中收到错误消息。