FCKeditor smarty 编辑器的应用PHP(python3.7编辑器)这样也行?

随心笔谈2年前发布 admin
195 0 0

文章摘要

这篇文章描述了使用Firebird CMS(ContenteditorComponent)配置内容编辑器的代码。代码定义了一个名为`oFCKeditor`的对象,并为该编辑器设置了属性:`BasePath`指定编辑器的路径为`fckeditor/`,`Height`设置为300像素,`Value`设置为`{ $content }`以获取或存储内容,`Create()`方法在编辑器初始化时执行配置。文章的核心内容是展示如何配置Firebird CMS的编辑器组件。

var oFCKeditor=new FCKeditor( ‘content’ ) ;

oFCKeditor.BasePath=”fckeditor/” ;

oFCKeditor.Height=300 ;

oFCKeditor.Value='{ $content }’ ;

oFCKeditor.Create() ;

© 版权声明

相关文章