首页> 外国专利> Rich text editor

Rich text editor

机译:富文本编辑器

摘要

The disclosure is directed to a rich text editor (“editor”) that facilitates generation and manipulation of rich text content. The editor can be integrated into an application, e.g., a social networking application, to support rich text content creation in the application. The application renders a document containing rich text content using a document object model (DOM). The editor stores a state of the document, e.g., features such as formatting style of content, separate from the DOM, thereby eliminating and/or minimizing any inconsistencies that can be caused due to storing the state with the DOM. The editor stores the content as multiple data blocks and the state as multiple feature data objects. A rendering component of the text editor renders the document by outputting the document into the DOM using the data blocks and the feature data objects. The rendering component includes APIs for rendering the document in various formatting styles.
机译:本公开针对富文本编辑器(“编辑器”),其促进富文本内容的生成和操纵。可以将编辑器集成到应用程序中,例如社交网络应用程序,以支持在应用程序中创建富文本内容。该应用程序使用文档对象模型(DOM)渲染包含富文本内容的文档。编辑器与DOM分开存储文档的状态,例如,诸如内容的格式样式之类的特征,从而消除和/或最小化由于将状态与DOM存储而可能引起的任何不一致。编辑器将内容存储为多个数据块,将状态存储为多个要素数据对象。文本编辑器的呈现组件通过使用数据块和要素数据对象将文档输出到DOM中来呈现文档。呈现组件包括用于以各种格式样式呈现文档的API。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号