发新话题
打印

SaBlog-x Ver.1.6 所见即所得编辑器不支持Opera<已解决>

SaBlog-x Ver.1.6 所见即所得编辑器不支持Opera<已解决>

如题,Opera似乎可以浏览Discuz、DZ等,不过在后台添加文章的时候,IE可以看见html编辑器,而opera不可以。不知道其他浏览器有没有相同的问题

解决方案:

请下载Angel精简的编辑器:

链接: fckeditor_2.6_lite.rar
链接: fckeditor_2.6_lite_2.rar
链接: fckeditor_2.6_lite3.rar
链接: fckeditor_2.6_lite3_table.rar


出现404 错误的兄弟们请参考#8



[ 本帖最后由 nbxx 于 2008-7-29 15:36 编辑 ]

TOP

换最新的
承接网站重构,搜索引擎优化!

TOP

不好意思没理解你的话。

是Opera用最新版吗?
请看我的opera版本截图


我的Sa-Blog是前天刚在主页下载的。应该是1.6的最新版了吧。。。

TOP

建议用firefox浏览器
专注sablog
qq:1738143

TOP

opera不支持!
无论换最新的op还是sa,都不支持这个编辑器

TOP

是换最新的编辑器...

编辑器有最新版的,支持
承接网站重构,搜索引擎优化!

TOP

下载了最新的精简3带表格版以后,进入后台添加文章会出现下面的话:

404 Not Found
The requested URL /editor/editor/fckeditor.html?InstanceName=description&Toolbar=Basic does not exist.

TOP

由于admin/editor/fckeditor_php5.php中
复制内容到剪贴板
代码:
&#160; &#160; &#160; &#160; public function __construct( $instanceName )
{
&#160; &#160; &#160; &#160; $this->InstanceName = $instanceName ;
&#160; &#160; &#160; &#160; $this->BasePath = '/editor/' ;
&#160; &#160; &#160; $this->Width = '100%' ;
&#160; &#160; &#160; $this->Height = '350' ;
&#160; &#160; &#160; $this->ToolbarSet = 'Default' ;
&#160; &#160; &#160; $this->Value = '' ;

&#160; &#160; &#160; $this->Config = array() ;
}
导致每次FCKEDITOR初始化时便会将$BasePath设置为/editot/

因此admin/editor.php中:
复制内容到剪贴板
代码:
$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = dirname($sBasePath).'/editor/';
$oFCKeditor->BasePath&#160; &#160;= $sBasePath ;

//设置描述区域
$oFCKeditor = new FCKeditor('description');
$oFCKeditor->Value = $article['description'];
$oFCKeditor->Height = '200';
$oFCKeditor->ToolbarSet = 'Basic';
//描述区域的模板变量
$descriptionarea = $oFCKeditor->CreateHtml();
第3行的设置无效~~~~
将第3行移至每个 new FCKeditor(''); 与 $oFCKeditor->CreateHtml();之间即可。

即是:
复制内容到剪贴板
代码:
$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = dirname($sBasePath).'/editor/';


//设置描述区域
$oFCKeditor = new FCKeditor('description');
$oFCKeditor->Value = $article['description'];
$oFCKeditor->Height = '200';
$oFCKeditor->ToolbarSet = 'Basic';
//描述区域的模板变量
$oFCKeditor->BasePath&#160; &#160;= $sBasePath ;
$descriptionarea = $oFCKeditor->CreateHtml();

//设置内容区域
$oFCKeditor = new FCKeditor('content');
$oFCKeditor->Value = $article['content'];
//内容区域的模板变量
$oFCKeditor->BasePath&#160; &#160;= $sBasePath ;
$contentarea = $oFCKeditor->CreateHtml();
[ 本帖最后由 nbxx 于 2008-7-29 15:43 编辑 ]

TOP

发新话题