CN113778236B - Method and system for realizing emphasis function of rich text editor - Google Patents

Method and system for realizing emphasis function of rich text editor Download PDF

Info

Publication number
CN113778236B
CN113778236B CN202110968520.1A CN202110968520A CN113778236B CN 113778236 B CN113778236 B CN 113778236B CN 202110968520 A CN202110968520 A CN 202110968520A CN 113778236 B CN113778236 B CN 113778236B
Authority
CN
China
Prior art keywords
emphasis
information
rich text
identification information
emphasized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110968520.1A
Other languages
Chinese (zh)
Other versions
CN113778236A (en
Inventor
马春雨
汤德昆
刘芳
段海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bairong Zhixin Beijing Technology Co ltd
Original Assignee
Bairong Zhixin Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bairong Zhixin Beijing Technology Co ltd filed Critical Bairong Zhixin Beijing Technology Co ltd
Priority to CN202110968520.1A priority Critical patent/CN113778236B/en
Publication of CN113778236A publication Critical patent/CN113778236A/en
Application granted granted Critical
Publication of CN113778236B publication Critical patent/CN113778236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Abstract

The invention provides a method and a system for realizing an emphasis function of a rich text editor, wherein the method comprises the following steps: monitoring input information to obtain first monitoring information; obtaining predetermined emphasized identification information; judging whether the first monitoring information contains the preset emphasis identification information or not; inserting an HTML tag into the rich text based on a rich text editor and binding with service data if the first monitoring information contains the preset emphasis identification information; according to the HTML tag, a first emphasis instruction is executed on a first emphasis object, so that the technical problems that in the prior art, as most of reminding functions are simply realized to remind someone to acquire typing information, user data security cannot be ensured, and the prior reminding function component has insufficient security and small application range due to inapplicability to complex business requirements are solved.

Description

Method and system for realizing emphasis function of rich text editor
Technical Field
The invention relates to the technical field of communication service, in particular to a method and a system for realizing an emphasis function of a rich text editor.
Background
With the development of chat software (qq, weChat, etc.), for the reminding function, most of the reminding functions are applied to a multi-user chat interface, such as @ function, the mark of symbol is displayed on a keyboard when an input box is clicked, and the symbol of @ appears after clicking. Then clicking the symbol can input the symbol into a transmitting column, selecting a nickname of a person to be reminded, inputting related text data, clicking and transmitting, and strongly reminding the selected person to browse the text data in real time to obtain related information and timely finish related tasks. The method has great effect on real-time information transmission and specific reminding in the multi-user chat interface, and is widely applied at present.
However, in the process of implementing the technical scheme of the invention in the embodiment of the application, the inventor of the application finds that at least the following technical problems exist in the above technology:
in the prior art, most of reminding functions are simply realized to remind someone to acquire typing information, so that user data security cannot be guaranteed, and the reminding functions are inapplicable to complex business requirements, so that the existing reminding function components have the technical problems of insufficient security and smaller application range.
Disclosure of Invention
The embodiment of the application solves the technical problems that most reminding function components are insufficient in safety and small in application range because reminding someone to acquire typing information is simply realized only for reminding function, user data safety cannot be guaranteed, and complex business requirements are inapplicable. By monitoring the input information, capturing preset emphasis identification information, inserting an HTML tag bound with service data into the rich text when judging that the input information contains the preset emphasis identification information, enabling an emphasis object to know the emphasis content only through the HTML tag, and linking the emphasis object to an emphasis content interface through the HTML tag to obtain more complex emphasis content which is difficult to edit, thereby achieving the technical effects of ensuring text security and supporting more complex service content reminding functions.
In view of the above, embodiments of the present application provide a method and system for implementing an emphasis function by a rich text editor.
In a first aspect, an embodiment of the present application provides a method for implementing an emphasis function by using a rich text editor, where the method includes: monitoring input information to obtain first monitoring information; obtaining predetermined emphasized identification information; judging whether the first monitoring information contains the preset emphasis identification information or not; inserting an HTML tag into the rich text based on a rich text editor and binding with service data if the first monitoring information contains the preset emphasis identification information; and executing a first emphasis instruction on the first emphasis object according to the HTML tag.
In another aspect, embodiments of the present application provide a system for implementing an emphasis function by a rich text editor, where the system includes: the first acquisition unit is used for monitoring the input information to acquire first monitoring information; a second obtaining unit configured to obtain predetermined emphasized identification information; a first judging unit for judging whether the first monitoring information contains the predetermined emphasis identification information; a first inserting unit for inserting an HTML tag into the rich text based on the rich text editor and binding with the service data if the first listening information contains the predetermined emphasis identification information; and the first execution unit is used for executing a first emphasis instruction on the first emphasis object according to the HTML tag.
In a third aspect, embodiments of the present application provide a system for implementing an emphasis function by a rich text editor, including: a processor coupled to a memory for storing a program that, when executed by the processor, causes the system to perform the method of any of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of any of the first aspects.
One or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
because the input information is monitored, first monitoring information is obtained; obtaining predetermined emphasized identification information; judging whether the first monitoring information contains the preset emphasis identification information or not; inserting an HTML tag into the rich text based on a rich text editor and binding with service data if the first monitoring information contains the preset emphasis identification information; according to the technical scheme of executing the first emphasis instruction on the first emphasis object, by monitoring input information, capturing preset emphasis identification information, inserting an HTML tag bound with service data into rich text when judging that the input information contains the preset emphasis identification information, enabling the emphasis object to know the emphasis content only through the HTML tag, and linking the HTML tag to the emphasis content interface to obtain more complex emphasis content which is difficult to edit, thereby achieving the technical effects of ensuring text security and supporting more complex service content reminding functions.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
FIG. 1 is a schematic flow chart of a method for implementing an emphasis function of a rich text editor according to an embodiment of the present application;
FIG. 2 is a flowchart of another method for implementing an emphasis function by a rich text editor according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for implementing an emphasis function by a rich text editor according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a system architecture for implementing emphasis functions of a rich text editor according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an exemplary electronic device according to an embodiment of the present application.
Reference numerals illustrate: the device comprises a first obtaining unit 11, a second obtaining unit 12, a first judging unit 13, a first inserting unit 14, a first executing unit 15, an electronic device 300, a memory 301, a processor 302, a communication interface 303 and a bus architecture 304.
Detailed Description
The embodiment of the application solves the technical problems that most reminding function components are insufficient in safety and small in application range because reminding someone to acquire typing information is simply realized only for reminding function, user data safety cannot be guaranteed, and complex business requirements are inapplicable. By monitoring the input information, capturing preset emphasis identification information, inserting an HTML tag bound with service data into the rich text when judging that the input information contains the preset emphasis identification information, enabling an emphasis object to know the emphasis content only through the HTML tag, and linking the emphasis object to an emphasis content interface through the HTML tag to obtain more complex emphasis content which is difficult to edit, thereby achieving the technical effects of ensuring text security and supporting more complex service content reminding functions.
Summary of the application
With the development of chat software (qq, weChat, etc.), for the reminding function, most of the reminding functions are applied to a multi-user chat interface, such as @ function, the mark of symbol is displayed on a keyboard when an input box is clicked, and the symbol of @ appears after clicking. Then clicking the symbol can input the symbol into a transmitting column, selecting a nickname of a person to be reminded, inputting related text data, clicking and transmitting, and strongly reminding the selected person to browse the text data in real time to obtain related information and timely finish related tasks. The method has great effect on real-time information transmission and specific reminding in the multi-user chat interface, and is widely applied at present. However, in the prior art, most of reminding functions are simply realized to remind someone to acquire the key-in information, so that the safety of user data cannot be ensured, and the method is not applicable to complex business requirements, so that the existing reminding function component has the technical problems of insufficient safety and smaller application range.
Aiming at the technical problems, the technical scheme provided by the application has the following overall thought:
the embodiment of the application provides a method for realizing an emphasis function by a rich text editor, wherein the method comprises the following steps: monitoring input information to obtain first monitoring information; obtaining predetermined emphasized identification information; judging whether the first monitoring information contains the preset emphasis identification information or not; inserting an HTML tag into the rich text based on a rich text editor and binding with service data if the first monitoring information contains the preset emphasis identification information; and executing a first emphasis instruction on the first emphasis object according to the HTML tag.
Having described the basic principles of the present application, various non-limiting embodiments of the present application will now be described in detail with reference to the accompanying drawings.
Example 1
As shown in fig. 1, an embodiment of the present application provides a method for implementing an emphasis function by a rich text editor, where the method includes:
s100: monitoring input information to obtain first monitoring information;
specifically, the first monitoring information refers to that when the input interface is opened, the system captures the input information and identifies the input information. The monitored input information comprises, but is not limited to, various characters, chinese characters, english and other information input by a keyboard; various characters, chinese characters, english and other information input by voice; information such as various characters, chinese characters, english and the like which are input in other modes. By monitoring and recognizing the input information in real time, it is convenient to turn on the emphasis function when a preset character is captured.
S200: obtaining predetermined emphasized identification information;
s300: judging whether the first monitoring information contains the preset emphasis identification information or not;
specifically, the predetermined emphasis identification information refers to identification information for turning on the emphasis function, such as @ or other symbols; and when the first monitoring information monitors that the input information has the preset emphasized identification information, opening an emphasized function expansion option. As an example without limitation: the preset @ is the preset emphasized identification information, and when @ is input in the input box of the multi-person chat platform of a certain company, the emphasized function option can be opened: "@ staff": direct entry of simple emphasis information, "jump": more complex emphasized information input, "extended functions" to other interfaces: other custom function options. By identifying the customized preset emphasis identification information to open the emphasis function for operation, compared with the traditional emphasis component, the emphasis function achieves the technical effects of being applicable to not only conventional simple emphasis reminding scenes, but also emphasis reminding under various complex business demands.
S400: inserting an HTML tag into the rich text based on a rich text editor and binding with service data if the first monitoring information contains the preset emphasis identification information;
specifically, the rich text editor refers to embedding HTML code in a page element, and this element can edit text like a document input box, and at the same time can set a text style; the HTML (Hyper Text Markup Language) label refers to a hypertext markup language, and "hypertext" refers to that a page can contain pictures, links, even non-text elements such as music, programs and the like.
Because simple information is emphasized directly, the prior art is relatively mature, and the process after "jumping" is explained in a little more than needed here, through the rich text editor, related content can be selected from complex page content after jumping, the related content is identified through the HTML tag, and the related content is bound with information of the page content and the selected emphasized object. The binding can enable the emphasized information in the relevant page to be modified only when the relevant page has a certain right, and enable the emphasized information in the relevant page to be checked only when the relevant page has a certain right object and an emphasized object, so that the information security is ensured.
S500: and executing a first emphasis instruction on the first emphasis object according to the HTML tag.
Specifically, the first emphasized object refers to an object of the predetermined emphasized identification information emphasized reminder, and the first emphasized object may be one or more; the first emphasis instruction refers to information requiring emphasis on reminding, including but not limited to simple reminding information, reminding information identified by the HTML tag, and the like. And when the first emphasis instruction is the reminding information marked by the HTML tag, confirming to return to the input interface after the HTML tag is edited. After the first emphasis instruction is edited, the first emphasis object can be reminded by sending a preferable click, and the first emphasis instruction is executed by the first emphasis object to complete the emphasis function, so that the technical effect of real-time reminding is achieved.
Further, based on the step of inserting HTML tags into rich text based on the rich text editor and binding with service data if the first listening information includes the predetermined emphasis identification information, step S400 includes:
s410: obtaining a style library of the HTML tag;
s420: and obtaining the emphasized pattern of the first emphasized object according to the pattern library.
Specifically, the style library of the HTML tag refers to the HTML tag style that can be customized before editing the HTML tag; the emphasized style of the first emphasized object refers to a style displayed to the first emphasized object by selecting the style gallery. The preferred implementation is: binding each style in the style library with different service type data can enable the first emphasized object to quickly know the corresponding service type according to the emphasized style, and is beneficial to improving the information processing efficiency.
Further, based on the step of inserting HTML tags into rich text based on the rich text editor and binding with service data if the first listening information includes the predetermined emphasis identification information, step S400 includes:
s430: obtaining a tag text of the HTML tag;
s440: binding the label text with the business data of the first emphasized object, and linking the expansion information.
Specifically, the tag text of the HTML tag refers to the emphasized instruction information edited after the information needing to be emphasized and identified in the selected page, including but not limited to: chinese, english, etc. information; extensible link instruction information and the like. Binding the tag text with the business data of the first emphasized object, namely binding the tag text with the text information covered by the tag text and the business data of the first emphasized object corresponding to the emphasized instruction information, and preferably expanding the business data of the first emphasized object through a link. By binding the business data of the first emphasized object, more complex business content emphasized reminding can be performed, and the technical effect of wider application range is achieved.
Further, as shown in fig. 2, the method further includes step S600:
s610: after the photo-alignment is performed on the tag text of the HTML tag, a preset tag is inserted;
s620: and when the text covered by the preset label is deleted, deleting the HTML label.
Specifically, the preset tag characterizes a custom tag with completed tag text input of the HTML tag, and the custom tag includes, but is not limited to: and when the preset tag is inserted after the tag text of the HTML tag, various characters, english and other information can not be expanded at the head part and the tail part of the HTML tag. In addition, in order to ensure the safety of information, when the text content covered by the preset tag, that is, the content information emphasized in the page is deleted, the HTML tag is also deleted, so that information leakage is avoided, for example, the business data of the first emphasized object bound by the HTML tag. The safety of the information is ensured.
Further, as shown in fig. 3, the method further includes step S700:
s710: obtaining custom attributes;
s720: and transmitting the custom attribute into the rich text.
Specifically, the custom attribute refers to various custom settings that can be selected when the rich text editor edits, such as custom option information of the HTML tag style; custom content of the HTML tag text; and the customization of matching rules between the emphasized symbol and the first emphasized object. Through the custom attribute, various custom functions are customized, the custom mode is unified within the custom attribute, and the custom content is convenient to adjust in the later period, so that the emphasized function is more stable.
In summary, the method and system for implementing the emphasis function of the rich text editor provided by the embodiments of the present application have the following technical effects:
1. because the input information is monitored, first monitoring information is obtained; obtaining predetermined emphasized identification information; judging whether the first monitoring information contains the preset emphasis identification information or not; inserting an HTML tag into the rich text based on a rich text editor and binding with service data if the first monitoring information contains the preset emphasis identification information; according to the technical scheme of executing the first emphasis instruction on the first emphasis object, by monitoring input information, capturing preset emphasis identification information, inserting an HTML tag bound with service data into rich text when judging that the input information contains the preset emphasis identification information, enabling the emphasis object to know the emphasis content only through the HTML tag, and linking the HTML tag to the emphasis content interface to obtain more complex emphasis content which is difficult to edit, thereby achieving the technical effects of ensuring text security and supporting more complex service content reminding functions.
2. Through the custom attribute, various custom functions are customized, the custom mode is unified within the custom attribute, and the custom content is convenient to adjust in the later period, so that the emphasized function is more stable.
Example two
Based on the same inventive concept as the method for implementing the emphasis function by the rich text editor in the foregoing embodiment, as shown in fig. 4, an embodiment of the present application provides a system for implementing the emphasis function by the rich text editor, where the system includes:
a first obtaining unit 11, where the first obtaining unit 11 is configured to monitor input information to obtain first monitoring information;
a second obtaining unit 12, the second obtaining unit 12 being configured to obtain predetermined emphasized identification information;
a first judging unit 13, where the first judging unit 13 is configured to judge whether the first monitoring information includes the predetermined emphasis identification information;
a first inserting unit 14, where the first inserting unit 14 is configured to insert an HTML tag into a rich text based on a rich text editor and bind with service data if the first listening information includes the predetermined emphasis identification information;
the first execution unit 15 is configured to execute a first emphasis instruction on a first emphasized object according to the HTML tag by the first execution unit 15.
Further, the system further comprises:
a third obtaining unit for obtaining a style library of the HTML tag;
and a fourth obtaining unit configured to obtain an emphasized pattern of the first emphasized object according to the pattern library.
Further, the system further comprises:
a fifth obtaining unit for obtaining a tag text of the HTML tag;
and the first binding unit is used for binding the label text with the business data of the first emphasized object and linking the extension information.
Further, the system further comprises:
the first inserting unit is used for inserting a preset label after the light mark is positioned in the label text of the HTML label;
and the first deleting unit is used for deleting the HTML tag when the text covered by the preset tag is deleted.
Further, the system further comprises:
a sixth obtaining unit, configured to obtain a custom attribute;
and the first transmission unit is used for transmitting the custom attribute into the rich text.
Exemplary electronic device
An electronic device of an embodiment of the present application is described below with reference to figure 5,
based on the same inventive concept as the method for realizing the emphasis function by the rich text editor in the previous embodiment, the embodiment of the application further provides a system for realizing the emphasis function by the rich text editor, which comprises: a processor coupled to a memory for storing a program that, when executed by the processor, causes the system to perform the method of any of the first aspects
The electronic device 300 includes: a processor 302, a communication interface 303, a memory 301. Optionally, the electronic device 300 may also include a bus architecture 304. Wherein the communication interface 303, the processor 302 and the memory 301 may be interconnected by a bus architecture 304; the bus architecture 304 may be a peripheral component interconnect (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry Standard architecture, EISA) bus, among others. The bus architecture 304 may be divided into address buses, data buses, control buses, and the like. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus or one type of bus.
Processor 302 may be a CPU, microprocessor, ASIC, or one or more integrated circuits for controlling the execution of the programs of the present application.
The communication interface 303 uses any transceiver-like means for communicating with other devices or communication networks, such as ethernet, radio access network (radio access network, RAN), wireless local area network (wireless local area networks, WLAN), wired access network, etc.
The memory 301 may be, but is not limited to, ROM or other type of static storage device that may store static information and instructions, RAM or other type of dynamic storage device that may store information and instructions, or may be an EEPROM (electrically erasable Programmable read-only memory), a compact disc-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and coupled to the processor through bus architecture 304. The memory may also be integrated with the processor.
The memory 301 is used for storing computer-executable instructions for executing the embodiments of the present application, and is controlled by the processor 302 to execute the instructions. The processor 302 is configured to execute computer-executable instructions stored in the memory 301, thereby implementing a method and a system for implementing an emphasis function by the rich text editor provided in the foregoing embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium, and a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to execute the method and the system for realizing the emphasis function by the rich text editor in any embodiment.
Alternatively, the computer-executable instructions in the embodiments of the present application may be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
The embodiment of the application provides a method for realizing an emphasis function by a rich text editor, wherein the method comprises the following steps: monitoring input information to obtain first monitoring information; obtaining predetermined emphasized identification information; judging whether the first monitoring information contains the preset emphasis identification information or not; inserting an HTML tag into the rich text based on a rich text editor and binding with service data if the first monitoring information contains the preset emphasis identification information; according to the HTML tag, a first emphasis instruction is executed on a first emphasis object, the input information is monitored, the preset emphasis identification information is captured, when the preset emphasis identification information is judged to exist in the input information, the HTML tag bound with the business data is inserted into the rich text, the emphasis object can know the emphasis content only through the HTML tag, and more complex emphasis content which is difficult to edit can be obtained through the HTML tag which is linked to the emphasis content interface, so that the technical effects of ensuring text safety and supporting more complex business content reminding are achieved.
Those of ordinary skill in the art will appreciate that: the various numbers of first, second, etc. referred to in this application are merely for convenience of description and are not intended to limit the scope of embodiments of the present application, nor to indicate a sequence. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one" means one or more. At least two means two or more. "at least one," "any one," or the like, refers to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one of a, b, or c (species ) may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers, data centers, etc. that can be integrated with the available medium. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The various illustrative logical blocks and circuits described in the embodiments of the present application may be implemented or performed with a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the general purpose processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in the embodiments of the present application may be embodied directly in hardware, in a software element executed by a processor, or in a combination of the two. The software elements may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. In an example, a storage medium may be coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may reside in a terminal. In the alternative, the processor and the storage medium may reside in different components in a terminal. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although the present application has been described in connection with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made without departing from the spirit and scope of the application. Accordingly, the specification and drawings are merely exemplary illustrations of the present application as defined in the appended claims and are considered to cover any and all modifications, variations, combinations, or equivalents that fall within the scope of the present application. It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to include such modifications and variations.

Claims (8)

1. A method for a rich text editor to implement an emphasis function, wherein the method comprises:
monitoring input information to obtain first monitoring information;
obtaining predetermined emphasis identification information, which is identification information for turning on an emphasis function;
judging whether the first monitoring information contains the preset emphasis identification information or not;
if the first monitoring information contains the preset emphasis identification information, inserting an HTML tag into the rich text based on a rich text editor and binding the HTML tag with service data, wherein the service data is the service data of a first emphasis object;
executing a first emphasis instruction on a first emphasis object according to the HTML tag, wherein the first emphasis object is an object emphasized and reminded based on the preset emphasis identification information, and the first emphasis instruction comprises reminder information identified by the HTML tag;
wherein if the first monitoring information contains the predetermined emphasis identification information, inserting an HTML tag into the rich text based on the rich text editor and binding with the service data, including:
selecting related content from the page content after the skip through the rich text editor, identifying the related content through the HTML tag, and binding the related content with the information of the page content and the first emphasized object;
the executing a first emphasis instruction on the first emphasis object according to the HTML tag comprises:
and after the HTML label is edited, confirming a return input interface, and after the first emphasis instruction is edited, clicking and sending so as to remind the first emphasis object.
2. The method of claim 1, wherein if the first listening information contains the predetermined emphasis identification information, inserting HTML tags into rich text based on a rich text editor and binding with service data, comprising:
obtaining a style library of the HTML tag;
and obtaining the emphasized pattern of the first emphasized object according to the pattern library, wherein the emphasized pattern of the first emphasized object refers to the pattern displayed to the first emphasized object by selecting the pattern library.
3. The method of claim 1, wherein if the first listening information contains the predetermined emphasis identification information, inserting HTML tags into rich text based on a rich text editor and binding with service data, comprising:
obtaining a tag text of the HTML tag;
binding the label text with the business data of the first emphasized object, and linking the expansion information.
4. The method of claim 1, wherein the method further comprises:
after the photo-alignment is performed on the tag text of the HTML tag, a preset tag is inserted;
and when the text covered by the preset label is deleted, deleting the HTML label.
5. The method of claim 1, wherein the method further comprises:
obtaining custom attributes;
and transmitting the custom attribute into the rich text.
6. A system for a rich text editor to implement an emphasis function, wherein the system comprises:
the first acquisition unit is used for monitoring the input information to acquire first monitoring information;
a second obtaining unit configured to obtain predetermined emphasis identification information, the predetermined emphasis identification information being identification information for turning on the emphasis function;
a first judging unit for judging whether the first monitoring information contains the predetermined emphasis identification information;
the first inserting unit is used for inserting an HTML tag into the rich text based on the rich text editor and binding with service data, and the service data is the service data of the first emphasized object if the first monitoring information contains the preset emphasized identification information;
the first execution unit is used for executing a first emphasis instruction on a first emphasis object according to the HTML tag, wherein the first emphasis object is an object emphasized and reminded based on the preset emphasis identification information, and the first emphasis instruction comprises reminding information identified by the HTML tag;
wherein the first insertion unit includes:
selecting related content from the page content after the skip through the rich text editor, identifying the related content through the HTML tag, and binding the related content with the information of the page content and the first emphasized object;
the first execution unit includes:
and after the HTML label is edited, confirming a return input interface, and after the first emphasis instruction is edited, clicking and sending so as to remind the first emphasis object.
7. A system for a rich text editor to implement an emphasis function, comprising: a processor coupled to a memory for storing a program that, when executed by the processor, causes the system to perform the method of any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, performs the method of any of the preceding claims 1-5.
CN202110968520.1A 2021-08-23 2021-08-23 Method and system for realizing emphasis function of rich text editor Active CN113778236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110968520.1A CN113778236B (en) 2021-08-23 2021-08-23 Method and system for realizing emphasis function of rich text editor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110968520.1A CN113778236B (en) 2021-08-23 2021-08-23 Method and system for realizing emphasis function of rich text editor

Publications (2)

Publication Number Publication Date
CN113778236A CN113778236A (en) 2021-12-10
CN113778236B true CN113778236B (en) 2024-01-09

Family

ID=78838891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110968520.1A Active CN113778236B (en) 2021-08-23 2021-08-23 Method and system for realizing emphasis function of rich text editor

Country Status (1)

Country Link
CN (1) CN113778236B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882075A (en) * 2010-03-24 2010-11-10 深圳市万兴软件有限公司 Method for editing rich text and for restoring and displaying rich text through FLASH
CN107666395A (en) * 2016-07-28 2018-02-06 中兴通讯股份有限公司 One population file management method, user terminal, group chat system
CN109981663A (en) * 2019-03-31 2019-07-05 杭州复杂美科技有限公司 A kind of privacy group chat method, equipment and storage medium
KR20200004911A (en) * 2020-01-06 2020-01-14 최재호 Apparatus for managing conference records object and method performing the same
CN112769925A (en) * 2020-12-31 2021-05-07 南威软件股份有限公司 Picture uploading method, system, terminal and medium based on rich text editor
CN112910756A (en) * 2021-01-21 2021-06-04 深圳耘想存储科技有限公司 Method and device for private chat in IM software group

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8892645B2 (en) * 2006-12-08 2014-11-18 International Business Machines Corporation Method and system for selective sharing of flagged information in a group chat environment
US20100293021A1 (en) * 2009-01-23 2010-11-18 Intranet Productivity Solutions, Ltd. Method and system for task tracking and allocation
US8688435B2 (en) * 2010-09-22 2014-04-01 Voice On The Go Inc. Systems and methods for normalizing input media
US9600132B2 (en) * 2012-11-27 2017-03-21 Microsoft Technology Licensing, Llc Using custom RTF commands to extend chat functionality
US10120855B2 (en) * 2014-05-22 2018-11-06 International Business Machines Corporation Consolidation of web contents between web content management systems and digital asset management systems

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882075A (en) * 2010-03-24 2010-11-10 深圳市万兴软件有限公司 Method for editing rich text and for restoring and displaying rich text through FLASH
CN107666395A (en) * 2016-07-28 2018-02-06 中兴通讯股份有限公司 One population file management method, user terminal, group chat system
CN109981663A (en) * 2019-03-31 2019-07-05 杭州复杂美科技有限公司 A kind of privacy group chat method, equipment and storage medium
KR20200004911A (en) * 2020-01-06 2020-01-14 최재호 Apparatus for managing conference records object and method performing the same
CN112769925A (en) * 2020-12-31 2021-05-07 南威软件股份有限公司 Picture uploading method, system, terminal and medium based on rich text editor
CN112910756A (en) * 2021-01-21 2021-06-04 深圳耘想存储科技有限公司 Method and device for private chat in IM software group

Also Published As

Publication number Publication date
CN113778236A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
US10929449B2 (en) Generating a structured document guiding view
US7140536B2 (en) Method and system for highlighting modified content in a shared document
US7987418B2 (en) Automatic bibliographical information within electronic documents
US10642468B2 (en) Accessibility lock and accessibility pause
JP3845046B2 (en) Document management method and document management apparatus
CN109492152B (en) Method, device, computer equipment and storage medium for pushing custom content
US20100058118A1 (en) Storage medium recording information reacquisition procedure generation program and information reacquisition procedure generation apparatus
CN110955428A (en) Page display method and device, electronic equipment and medium
CN111767563A (en) Method, device, terminal and storage medium for setting authority of online document
US9229920B1 (en) Compound undo/redo manager for mixed model edits
US20090037801A1 (en) Method and apparatus for automatic user manual generation
CN111552633A (en) Interface abnormal call testing method and device, computer equipment and storage medium
CN108984632A (en) A kind of webpage setting method and device
CN113283216A (en) Webpage content display method, device, equipment and storage medium
US7707275B2 (en) Method and system for validating a CLI/configlet on a given image
US8521762B2 (en) Automated business process modeling
US7506251B2 (en) Cross-reference generation
CN113778236B (en) Method and system for realizing emphasis function of rich text editor
CN113268232B (en) Page skin generation method and device and computer readable storage medium
CN105159900A (en) Multimedia data editing method and editor
CN116185853A (en) Code verification method and device
JP2006065467A (en) Device for creating data extraction definition information and method for creating data extraction definition information
US20090228678A1 (en) Mapping definition creation system and mapping definition creation program
CN115170700A (en) Method for realizing CSS animation based on Flutter framework, computer equipment and storage medium
JP2000040115A (en) Firm banking service method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100000 floors 1-3, block a, global creative Plaza, No. 10, Furong street, Chaoyang District, Beijing

Applicant after: Bairong Zhixin (Beijing) Technology Co.,Ltd.

Address before: 100000 floors 1-3, block a, global creative Plaza, No. 10, Furong street, Chaoyang District, Beijing

Applicant before: Bairong Zhixin (Beijing) credit investigation Co.,Ltd.

GR01 Patent grant
GR01 Patent grant