Check patentability & draft patents in minutes with Patsnap Eureka AI!

Rich text editing method, device and equipment

A text editing and text technology, applied in the computer field, can solve the problem that Flutter does not have the ability to support rich text editing

Pending Publication Date: 2022-05-27
ALIBABA (CHINA) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a rich text editing method, device and equipment to solve the problem that the existing Flutter does not have the ability to support rich text editing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Rich text editing method, device and equipment
  • Rich text editing method, device and equipment
  • Rich text editing method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.

[0037] First, the terms involved in this application are explained:

[0038] Flutter: A mobile UI framework, an open source SDK for building cross-platform mobile apps, can quickly build high-quality user interfaces on Android and iOS systems.

[0039] Slate js: An open source rich text editing framework implemented by typescript.

[0040] Section: paragraphs in a rich text editor, separated by...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a rich text editing method, device and equipment. According to the method, based on a rich text editor framework configured with a rich text editor protocol, when a rich text editor is started, a rich text editing area is displayed on a rich text editing page, and based on configured rich text editor protocol information, a data model of document content of the rich text editor is created; in response to an interaction operation in the rich text editing area, executing a command corresponding to the interaction operation, and updating the data model; creating a control tree according to the updated data model; creating a rendering tree according to the control tree; according to the method, layout and drawing are carried out according to the rendering tree to update the display effect of the document content of the rich text editor, and when the method is applied to the Flutter, the complicated rich text editing capability can be realized based on the Flutter on the basis of a rich text editor framework of a Slate rich text editor protocol configured on the Flutter.

Description

technical field [0001] The present application relates to computer technology, and in particular, to a rich text editing method, apparatus, and device. Background technique [0002] Flutter is a mobile UI (User Interface, user interface) framework, an open source SDK (Software Development Kit) for building cross-platform mobile APPs, which can quickly build high-quality Android and iOS systems user interface. [0003] Flutter itself does not have a rich text editor. The text input box Textfield that comes with Flutter only supports the most basic text input editing capabilities. The native rich text display capability is relatively simple, and does not support custom expressions, themes, ordered paragraphs, etc. Rich text editing capabilities. SUMMARY OF THE INVENTION [0004] The present application provides a rich text editing method, device, and device to solve the problem that the existing Flutter does not have the ability to support rich text editing. [0005] In o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/166
CPCG06F40/166
Inventor 王浩梁治峰王振辉陈昱林云鹤谷雷雷
Owner ALIBABA (CHINA) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More