FCKeditor 使用指南及 JavaScript 调用

2008-01-29 12:17

检查 FCK 编辑器内容是否发生变化:

oEditor.IsDirty();

在 FCK 编辑器之外调用 FCK 编辑器工具条命令:

命令列表如下:

--------------------------------------------

DocProps, Templates, Link, Unlink, Anchor, BulletedList, NumberedList, About, Find, Replace, Image, Flash, SpecialChar, Smiley, Table, TableProp, TableCellProp, UniversalKey, Style, FontName, FontSize, FontFormat, Source, Preview, Save, NewPage, PageBreak, TextColor, BGColor, PasteText, PasteWord, TableInsertRow, TableDeleteRows, TableInsertColumn, TableDeleteColumns, TableInsertCell, TableDeleteCells, TableMergeCells, TableSplitCell, TableDelete, Form, Checkbox, Radio, TextField, Textarea, HiddenField, Button, Select, ImageButton, SpellCheck, FitWindow, Undo, Redo

--------------------------------------------

使用方法如下:

--------------------------------------------

oEditor.Commands.GetCommand('FitWindow').Execute();

------------------------------------------