摘要: 在研究ASCIIMathML转换文档的基础上,提出基于ASCIIMathML的富文本公式编辑器设计方案。运用JavaScript和DOM技术,结合XHTML实现火狐浏览器下公式的所见即所得编辑,并将公式编辑页面应用到文本编辑器中,实现公式的显示、复编辑、保存、载入等功能,有利于公式的在线编辑和传输。
关键词:
文档对象模型,
数学标记语言,
公式编辑,
富文本编辑,
ASCIIMathML文档
Abstract: By researching the ASCIIMathML conversion document, a rich text formulas editor design scheme based on ASCIIMathML is presented. The What You See What You Get(WYSWYG) editing formula is realized in FireFox by using JavaScript, Document Object Model(DOM) and XHTML technology. By applying to the Web test editor, it has functions of displaying, reediting, saving and loading formulas, and is much more convenient for on-line editing and transmitting formulas.
Key words:
Document Object Model(DOM),
Mathematical Markup Language(MathML),
formula edit,
rich text edi,
ASCIIMathML document
中图分类号:
郑斌, 沈明霞. 在线富文本公式编辑器的设计与实现[J]. 计算机工程, 2011, 37(18): 287-289.
ZHENG Bin, CHEN Meng-Xia. Design and Implementation of On-line Rich Text Formula Editor[J]. Computer Engineering, 2011, 37(18): 287-289.