Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/229.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 将tabindex和class设置为FCK编辑器_Php_Javascript_Editor_Ckeditor_Fckeditor - Fatal编程技术网

Php 将tabindex和class设置为FCK编辑器

Php 将tabindex和class设置为FCK编辑器,php,javascript,editor,ckeditor,fckeditor,Php,Javascript,Editor,Ckeditor,Fckeditor,我无法将tabindex设置为FCK编辑器。我正在为fck编辑器使用以下php代码 require_once("".$abspath."fckeditor/fckeditor.php"); $oFCKeditor = new FCKeditor("shippinginfo") ; $oFCKeditor->BasePath = "../fckeditor/" ; $oFCKeditor -> Height = '300'; $oFCKeditor -&

我无法将tabindex设置为FCK编辑器。我正在为fck编辑器使用以下php代码

require_once("".$abspath."fckeditor/fckeditor.php");
    $oFCKeditor = new FCKeditor("shippinginfo") ;
    $oFCKeditor->BasePath = "../fckeditor/" ;
    $oFCKeditor -> Height = '300';
    $oFCKeditor -> Width = '900';
    $oFCKeditor->Value = stripslashes(str_replace("\\","",$product_shippinginfo));
    $oFCKeditor->Create() ;
我也喜欢给fck编辑器上课


任何人都有这个想法

顺便说一句,我在谷歌上找到了下面的解决方案。。。试试这个

open file: fckeditor.js

find there a string:


return '<iframe id="' + this.InstanceName + '___Frame" src="' + sLink + '" width="' + this.Width + '" height="' + this.Height + '" frameborder="0" scrolling="no" tabindex=4></iframe>' ;

通过文本区域替换方法,我们可以设置
tabindex
。好了,谢谢

 <textarea name="product_long_tescription" id="product_long_tescription"  tabindex="4"  class="fillbymaster" >init value</textarea>


window.onload = function()
{
var oFCKeditor = new FCKeditor( 'product_long_tescription' ) ;
oFCKeditor.BasePath = "../fckeditor/" ;
oFCKeditor.Height = "300" ; 
oFCKeditor.Width = "900";
oFCKeditor.ReplaceTextarea() ;

}
init值
window.onload=函数()
{
var of ckeditor=新的FCKeditor('product_long_tescription');
oFCKeditor.BasePath=“../fckeditor/”;
oFCKeditor.Height=“300”;
oFCKeditor.Width=“900”;
oFCKeditor.ReplaceTextarea();
}
读一下这个
 <textarea name="product_long_tescription" id="product_long_tescription"  tabindex="4"  class="fillbymaster" >init value</textarea>


window.onload = function()
{
var oFCKeditor = new FCKeditor( 'product_long_tescription' ) ;
oFCKeditor.BasePath = "../fckeditor/" ;
oFCKeditor.Height = "300" ; 
oFCKeditor.Width = "900";
oFCKeditor.ReplaceTextarea() ;

}