CN112596724A - Editing operation method, device and equipment - Google Patents

Editing operation method, device and equipment Download PDF

Info

Publication number
CN112596724A
CN112596724A CN202011521215.XA CN202011521215A CN112596724A CN 112596724 A CN112596724 A CN 112596724A CN 202011521215 A CN202011521215 A CN 202011521215A CN 112596724 A CN112596724 A CN 112596724A
Authority
CN
China
Prior art keywords
operation item
state
editing
item
items
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.)
Pending
Application number
CN202011521215.XA
Other languages
Chinese (zh)
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.)
Shenzhen Jizhi Digital Technology Co Ltd
Original Assignee
Shenzhen Jizhi Digital 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 Shenzhen Jizhi Digital Technology Co Ltd filed Critical Shenzhen Jizhi Digital Technology Co Ltd
Priority to CN202011521215.XA priority Critical patent/CN112596724A/en
Publication of CN112596724A publication Critical patent/CN112596724A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an editing operation method, an editing operation device and editing operation equipment. And setting a recovery identifier corresponding to the first operation item, and converting the editing state of the first operation item into a standard display state by triggering the recovery identifier. The first operation item and the recovery identifier are displayed in the result page according to the deletion state of the first operation item, so that the deleted operation item can be displayed in the result page, and a user can conveniently verify the deletion operation. And the recovery of the deleted operation item can be quickly realized by triggering the recovery identifier, so that the user can conveniently edit the operation item.

Description

Editing operation method, device and equipment
Technical Field
The application relates to the technical field of computers, in particular to an editing operation method, device and equipment.
Background
When a user edits a web page, the user typically displays or prompts the state or result of the current edit through a popup window or a specific mark. After the user confirms the editing, the user can display the editing result by refreshing the page or jumping to the result page.
And for the deletion operation of the user, the rest operation items after the deletion are correspondingly displayed in the refreshed page and the result page. It is difficult for the user to check the deleted operation item. And if the deleted operation item needs to be restored, the operation item needs to be input again, which is inconvenient.
Disclosure of Invention
In view of this, embodiments of the present application provide an editing operation method, apparatus, and device, which can display a deleted operation item in a result page, and can quickly restore the operation item, so that a user can check the operation item and restore editing conveniently.
In order to solve the above problem, the technical solution provided by the embodiment of the present application is as follows:
in a first aspect, the present application provides a method for editing operations, the method including:
acquiring a deleting instruction triggered by a user aiming at an operation item in a webpage;
determining a first operation item according to the deletion instruction, and setting the editing state of the first operation item to be a deletion state;
setting a recovery identifier corresponding to the first operation item, wherein the recovery identifier is used for converting the editing state of the first operation item into a standard display state;
and displaying the first operation item and the recovery identifier in a result page according to the deletion state of the first operation item.
In one possible implementation, the method further includes:
acquiring the editing state of the operation item;
and adjusting the display position of the operation item according to the editing state of the operation item.
In a possible implementation manner, when the number of the first operation items is one, the adjusting the display positions of the operation items according to the editing states of the operation items includes:
and setting the first operation item as the Nth operation item, wherein N is the total number of the operation items.
In a possible implementation manner, when the number of the first operation items is multiple, the adjusting the display positions of the operation items according to the editing states of the operation items includes:
sequencing the first operation items to obtain a first sequence;
and setting the first operation item to be from the (N + 1) -i) th operation item to the Nth operation item according to the first sequence, wherein i is the total number of the first operation items.
In a possible implementation manner, before obtaining a deletion instruction triggered by a user for an operation item in a web page, the method further includes:
acquiring an opening operation instruction triggered by the user aiming at an operation item in a webpage, and converting the operation state of the operation item into an operable state;
and acquiring the editing state of the operation item, and displaying the operation item according to the editing state of the operation item.
In one possible implementation, the method further includes: acquiring a recovery instruction generated by a user in a webpage through triggering a target recovery identifier; the target restoration flag is set according to the editing operation method of claims 1 to 5;
determining a second operation item corresponding to the target recovery identifier according to the recovery instruction;
setting the editing state of the second operation item to be a standard display state, and deleting the target recovery identifier;
and displaying the second operation item in a result page.
In one possible implementation, before the displaying the second operation item, the method further includes:
and acquiring the original display position of the second operation item, and adjusting the display position of the second operation item according to the original display position of the second operation item.
In a second aspect, the present application provides an editing operation apparatus, the apparatus comprising:
the first acquisition unit is used for acquiring a deletion instruction triggered by a user aiming at an operation item in a webpage;
the deleting unit is used for determining a first operation item according to the deleting instruction and setting the editing state of the first operation item to be a deleting state;
the first setting unit is used for setting a recovery identifier corresponding to the first operation item, and the recovery identifier is used for converting the editing state of the first operation item into a standard display state;
and the first display unit is used for displaying the first operation item and the recovery identifier in a result page according to the deletion state of the first operation item.
In one possible implementation, the apparatus further includes:
a second acquisition unit configured to acquire an editing state of the operation item;
and the first adjusting unit is used for adjusting the display position of the operation item according to the editing state of the operation item.
In a possible implementation manner, when the number of the first operation items is one, the adjusting unit is specifically configured to set the first operation item as an nth operation item, where N is the total number of the operation items.
In a possible implementation manner, when the number of the first operation items is multiple, the adjusting unit is specifically configured to sort the first operation items to obtain a first sequence;
and setting the first operation item to be from the (N + 1) -i) th operation item to the Nth operation item according to the first sequence, wherein i is the total number of the first operation items.
In one possible implementation, the apparatus further includes:
a third obtaining unit, configured to obtain an opening operation instruction triggered by the user for an operation item in a web page, and convert an operation state of the operation item into an operable state;
and the fourth acquisition unit is used for acquiring the editing state of the operation item and displaying the operation item according to the editing state of the operation item.
In one possible implementation, the apparatus further includes:
the fifth acquisition unit is used for acquiring a recovery instruction generated by the user in the webpage through triggering the target recovery identifier; the target recovery mark is set according to the editing operation method;
the determining unit is used for determining a second operation item corresponding to the target recovery identifier according to the recovery instruction;
the second setting unit is used for setting the editing state of the second operation item to be a standard display state and deleting the target recovery identifier;
and the second display unit is used for displaying the second operation item in a result page.
In one possible implementation, the apparatus further includes:
and the second adjusting unit is used for acquiring the original display position of the second operation item and adjusting the display position of the second operation item according to the original display position of the second operation item.
In a third aspect, the present application provides an editing operation apparatus, including: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is used to store one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the method described above.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein instructions that, when run on a terminal device, cause the terminal device to perform any of the methods described above.
Therefore, the embodiment of the application has the following beneficial effects:
according to the editing operation method, the editing operation device and the editing operation equipment, a deleting instruction triggered by a user for an operation item in a webpage can be obtained, a first operation item needing deleting operation is determined according to the deleting instruction, and the editing state of the first operation item is set to be a deleting state. And setting a recovery identifier corresponding to the first operation item, and converting the editing state of the first operation item into a standard display state by triggering the recovery identifier. The first operation item and the recovery identifier are displayed in the result page according to the deletion state of the first operation item, so that the deleted operation item can be displayed in the result page, and a user can conveniently verify the deletion operation. And the recovery of the deleted operation item can be quickly realized by triggering the recovery identifier, so that the user can conveniently edit the operation item.
Drawings
Fig. 1 is a flowchart of an editing operation method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an operation provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of another operational aspect provided by an embodiment of the present application;
fig. 4 is a flowchart of another editing operation method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of an editing operation apparatus according to an embodiment of the present application.
Detailed Description
In order to facilitate understanding and explaining the technical solutions provided by the embodiments of the present application, the following description will first describe the background art of the present application.
After researching the traditional webpage editing, the inventor finds that the webpage editing is simple and convenient, and for the deleting operation of a user, the deleted operation item can be directly eliminated from a finally displayed result page. Therefore, the user cannot determine the operation item specifically deleted by the current deleting operation through the operation item displayed in the result page. And, if the user deletes the operation item by mistake, the operation item needs to be re-input and edited. The user is inconvenient to check the deletion operation and restore the deleted operation item.
Based on this, an embodiment of the present application provides an editing operation method, where the method includes: firstly, acquiring a deleting instruction triggered by a user aiming at an operation item in a webpage; determining a first operation item according to the deletion instruction, and setting the editing state of the first operation item to be a deletion state; secondly, setting a recovery identifier corresponding to the first operation item, wherein the recovery identifier is used for converting the editing state of the first operation item into a standard display state; and finally, displaying the first operation item and the recovery identifier in a result page according to the deletion state of the first operation item.
In order to facilitate understanding of the technical solutions provided in the embodiments of the present application, an editing operation method provided in the embodiments of the present application is described below with reference to the accompanying drawings.
Referring to fig. 1, the figure is a flowchart of an editing operation method provided in an embodiment of the present application, and the method includes steps S101 to S104.
S101: and acquiring a deletion instruction triggered by the user according to the operation item in the webpage.
In the process of editing the web page, the user can correspondingly edit the operational operation items in the web page, such as deleting, adding, modifying and the like. The operation item may be an item that can be edited by an operation in a web page, for example, a tag with certain information.
The user can delete the specific operation item by triggering the deletion identifier. In a possible implementation manner, the operation item setting has a corresponding operation key, and the user can trigger a deletion identifier set on the operation item, or a deletion button set in the proximity range of the operation item to delete the operation item. The deletion indicator may be an "x" located at the upper left corner of the operation item. Referring to fig. 2, the figure is a schematic diagram of an operation item provided in an embodiment of the present application. Each operation item is in a standard display state, and the upper right corner of the operation item is provided with a deletion identifier. The delete button may be a "delete" key provided near the operation item. In another possible implementation manner, the user may perform batch operations on the operation items. A user can select a plurality of operation items, and batch deletion of the operation items is realized by clicking a delete button.
S102: and determining a first operation item according to the deletion instruction, and setting the editing state of the first operation item to be a deletion state.
It can be understood that the deletion instruction has the related information of the operation item to be deleted, and the operation item to be deleted, that is, the first operation item, is determined according to the obtained deletion instruction.
The operation item has a plurality of edit statuses, for example, a standard display status, that is, an edit status of a normal display; a deleted state, i.e., a deleted edit state; a modified state, i.e., an editing state being modified; new added state, i.e. newly entered edit state, etc.
It should be noted that the editing state before the first operation item is not limited in the embodiment of the present application, and may be any state other than the deletion state, for example, a standard display state, an addition state, and the like.
And setting the editing state of the first operation item, and setting the editing state of the first operation item to be a deleting state.
S103: and setting a recovery identifier corresponding to the first operation item, wherein the recovery identifier is used for converting the editing state of the first operation item into a standard display state.
Correspondingly, in order to facilitate the recovery of the first operation item in the deleted state, a recovery identifier corresponding to the first operation item may be set. The resume identifier may be a resume key provided in the vicinity of the first operation item, or may be an identifier provided on the first operation item, for example, "←". The recovery identifier corresponds to the first operation item, and when the first operation item has a plurality of recovery identifiers, the corresponding recovery identifiers may also be a plurality of recovery identifiers.
By triggering the recovery identifier, the editing state of the first operation item can be set to be in a standard display state, so that the deleted first operation item can be quickly recovered.
S104: and displaying the first operation item and the recovery identifier in a result page according to the deletion state of the first operation item.
And correspondingly displaying the first operation item and the recovery identifier in the edited result page according to the deletion state of the first operation item. Referring to fig. 3, a schematic diagram of another operation item provided in the embodiment of the present application is shown. Wherein, the second operation item is the first operation item, and the upper right corner of the second operation item is the recovery identifier.
In order to distinguish different editing states, the different editing states may have corresponding display modes. For the deletion state, for example, the color of the first operation item may be adjusted to gray for display. The display mode corresponding to the deletion state is not limited in the embodiment of the application, and the deletion state can be distinguished from other editing states.
Based on the contents of S101 to S104, it can be known that, by setting a corresponding recovery identifier for the first operation item in the deleted state, and displaying the first operation item and the corresponding recovery identifier according to the deleted state in the result page, the deleted first operation item can be displayed in the result page, which is convenient for the user to check the operation item performing the deletion operation, and the operation item deleted by mistake can be found in time. In addition, by setting the recovery identifier corresponding to the first operation item, the user can conveniently and rapidly recover the deleted operation item by triggering the recovery identifier, and the problems of mistaken deletion and difficult recovery caused by the fact that the user cannot determine the deleted operation item are solved.
In one possible implementation, the display position of the first operation item may be reserved. In yet another possible implementation manner, the display position of the first operation item in the deleted state may be adjusted for the convenience of the user to view.
The editing operation method provided by the embodiment of the application further includes, in addition to the above steps:
acquiring the editing state of the operation item;
and adjusting the display position of the operation item according to the editing state of the operation item.
After editing, the editing state of the operation item can be acquired, and the display position of the operation item is adjusted according to the editing state of the operation item. The adjustment time for triggering the adjustment of the display position is not limited in the embodiment of the application, and can be after each operation and editing; after the operation editing is determined not to be performed any more, the whole operation editing can be completed.
The operation item for acquiring the edit status may be only the first operation item having the delete status, may be an operation item whose edit status has changed after the current operation is edited, or may be all the operation items.
And adjusting the display position of the operation item according to the acquired editing state of the operation item.
Specifically, if the operation items have certain display positions in sequence, the first operation item with the deleted editing state may be adjusted to a later display position. The embodiment of the application also provides a method for adjusting the display position of the first operation items with different numbers.
In a possible implementation manner, when the number of the first operation items is one, the adjusting the display positions of the operation items according to the editing states of the operation items includes:
and setting the first operation item as the Nth operation item, wherein N is the total number of the operation items.
When the number of the first operation items is one, the first operation item may be adjusted to the end of the operation item, that is, the first operation item is set as the nth operation item. Wherein N is the total number of the operation items.
For example, if the total number of the operation items is 5, the 2 nd operation item is the first operation item, the editing state is set to the deletion state, the display position of the 2 nd operation item may be adjusted to the 5 th operation item, and the other operation items located after the original position of the first operation item may be sequentially adjusted forward.
In another possible implementation manner, when the number of the first operation items is multiple, the adjusting the display positions of the operation items according to the editing states of the operation items includes:
sequencing the first operation items to obtain a first sequence;
and setting the first operation item to be from the (N + 1) -i) th operation item to the Nth operation item according to a first sequence, wherein i is the total number of the first operation items.
When the first operation item has a plurality of operation items, the arrangement order of the first operation items may be determined first, and a first sequence is obtained. And sequentially setting the first operation item at the tail of the operation items according to the first sequence.
The embodiment of the application does not limit the sorting method of the first sequence, and the sorting may be performed according to the time for adjusting the deletion state of each first operation item, or may be performed according to the order of the original display position of each first operation item.
And sequentially setting the first operation items in the display positions at the tail of the operation items. For example, if there are 5 operation items in total, and the 2 nd operation item and the 3 rd operation item are first operation items, two first operation items may be adjusted to the display positions of the 4 th operation item and the 5 th operation item, and the original 1 st operation item, the original 4 th operation item, and the original 5 th operation item are adjusted to the display positions of the 1 st operation item, the original 2 nd operation item, and the original 3 rd operation item, respectively.
Based on the above, the deleted operation item may be adjusted to the last position of the display position, so that the user may check the remaining operation items first, and view the deleted operation item at the last position of the display position, thereby facilitating the user to edit and view the deleted operation item.
Before editing a part of webpages, the operation states of all operation items in the webpages need to be adjusted, so that users can edit the operation items, and misoperation of the operation items by the users is prevented.
In a possible implementation manner, before obtaining a deletion instruction triggered by a user for an operation item in a web page, the method further includes:
acquiring an opening operation instruction triggered by the user aiming at an operation item in a webpage, and converting the operation state of the operation item into an operable state;
and acquiring the editing state of the operation item, and displaying the operation item according to the editing state of the operation item.
When a user needs to operate an operation item in a webpage, an opening operation instruction can be triggered first. It is understood that the user may operate on a part of the operation items in the web page. The opening operation instruction comprises information corresponding to the operation item which can be operated and edited by the user at this time. And converting the operation state of the corresponding operation item into an operable state according to the opening operation instruction.
In a possible implementation manner, the operation state of the operation item is converted into an operable state, and specifically, the edit identifier corresponding to the operation item is displayed or an edit button is displayed. The user can correspondingly edit the operation items through the editing identification and the editing keys.
And acquiring the editing state of the operation item, displaying the operation item according to the editing state of the operation item so that a user can determine the editing state corresponding to each operation item and edit according to the editing state corresponding to the operation item.
Based on the above, the operation state of the operation item is converted through the opening editing instruction triggered by the user, and the operation item is displayed according to the editing state of the operation item, so that the user can be prevented from performing misoperation on the operation item, and the operation item can be correspondingly edited according to the editing state of the operation item, thereby facilitating the user to operate the operation item.
Further, the user can restore the operation item in the deleted state by triggering the recovery identifier. Another editing operation method provided in the embodiment of the present application is shown in fig. 4, which is a flowchart of another editing operation method provided in the embodiment of the present application, and in addition to the above steps, the method includes steps S401 to S404:
s401: acquiring a recovery instruction generated by a user in a webpage through triggering a target recovery identifier; the target recovery mark is set according to the editing operation method.
And clicking a trigger target recovery identifier in the webpage by the user, wherein the target recovery identifier is one or more of the recovery identifiers generated according to the editing operation method.
And generating a corresponding recovery instruction according to the target recovery identifier triggered by the user. The recovery instruction has related information corresponding to the target recovery identifier.
S402: and determining a second operation item corresponding to the target recovery identifier according to the recovery instruction.
And determining a second operation item corresponding to the target recovery identifier triggered by the user according to the acquired recovery instruction. The second operation item is one or more of the operation items in the deleted state.
S403: and setting the editing state of the second operation item as a standard display state, and deleting the target recovery identifier.
And setting the editing state of the second operation item to be a standard display state according to the recovery identifier triggered by the user. Correspondingly, deleting the target recovery identifier.
S404: and displaying the second operation item in a result page.
And displaying the second operation item in the standard display state in the result page. The display mode of the second operation item may be identical to the display mode before the deletion operation is not performed. For example, the second operation item in fig. 3 is taken as the second operation item, the edit status of the second operation item is set to the standard display status by triggering the recovery flag, and the second operation item displayed in the result page is shown in fig. 2.
Based on the relevant content of S401 to S404, the user can restore the editing state of the operation item in the deleted state to the standard display state by triggering the restoration identifier of the operation item in the deleted state, so as to realize quick restoration of the deleted operation item, and facilitate the user to operate the operation item.
Furthermore, the display position of the second operation item can be restored to the original position because the display position of the deleted operation item may be changed.
Before the displaying the second operation item, the method further comprises:
and acquiring the original display position of the second operation item, and adjusting the display position of the second operation item according to the original display position of the second operation item.
The original display position of the second operation item may be a display position at which the second operation item is in the standard display state. It should be noted that, if the display position of the second operation item is adjusted, the second operation item can be correspondingly restored to the display position corresponding to the original display position. And if the display position of the second operation item is not adjusted, displaying according to the current display position of the second operation item.
For example, if the original display position of the second operation item is the display position of the 2 nd operation item, and if the display position of the 4 th operation item is adjusted when the deletion state is set, the second operation item is restored to the display position of the 2 nd operation item. And if the display position is not adjusted in the set deleting state, restoring the second operation item to the display position of the current 4 th operation item.
In addition, when the display position of the operation item before the second operation item is adjusted, the second operation item is correspondingly changed. For example, if the original display position of the second operation item is the display position of the 2 nd operation item, the current display position is the display position of the adjusted 4 th operation item, and the current 1 st operation item needs to be adjusted to the display position of the 5 th operation item, the second operation item may be restored to the display position corresponding to the 1 st operation item.
In the embodiment of the application, the second operation item is restored to the corresponding position according to the original display position of the second operation item, so that the deleted operation item can be quickly restored to the original display position, and the user can edit and view the operation item conveniently.
Based on the editing operation method provided by the above method embodiment, an editing operation device is further provided in the embodiment of the present application, and the editing operation device will be described below with reference to the accompanying drawings.
Referring to fig. 5, this figure is a schematic structural diagram of an editing operation apparatus according to an embodiment of the present application. As shown in fig. 5, the editing operation device includes:
a first obtaining unit 501, configured to obtain a deletion instruction triggered by a user for an operation item in a web page;
a deleting unit 502, configured to determine a first operation item according to the deleting instruction, and set an editing state of the first operation item to a deleting state;
a first setting unit 503, configured to set a recovery identifier corresponding to the first operation item, where the recovery identifier is used to convert an editing state of the first operation item into a standard display state;
a first display unit 504, configured to display the first operation item and the recovery identifier in a result page according to a deletion state of the first operation item.
In one possible implementation, the apparatus further includes:
a second acquisition unit configured to acquire an editing state of the operation item;
and the first adjusting unit is used for adjusting the display position of the operation item according to the editing state of the operation item.
In a possible implementation manner, when the number of the first operation items is one, the first adjusting unit is specifically configured to set the first operation item as an nth operation item, where N is the total number of the operation items.
In a possible implementation manner, when the number of the first operation items is multiple, the first adjusting unit is specifically configured to sort the first operation items to obtain a first sequence;
and setting the first operation item to be from the (N + 1) -i) th operation item to the Nth operation item according to the first sequence, wherein i is the total number of the first operation items.
In one possible implementation, the apparatus further includes:
a third obtaining unit, configured to obtain an opening operation instruction triggered by the user for an operation item in a web page, and convert an operation state of the operation item into an operable state;
and the fourth acquisition unit is used for acquiring the editing state of the operation item and displaying the operation item according to the editing state of the operation item.
In one possible implementation, the apparatus further includes:
the fifth acquisition unit is used for acquiring a recovery instruction generated by the user in the webpage through triggering the target recovery identifier; the target recovery mark is set according to the editing operation method;
the determining unit is used for determining a second operation item corresponding to the target recovery identifier according to the recovery instruction;
the second setting unit is used for setting the editing state of the second operation item to be a standard display state and deleting the target recovery identifier;
and the second display unit is used for displaying the second operation item in a result page.
In one possible implementation, the apparatus further includes:
and the second adjusting unit is used for acquiring the original display position of the second operation item and adjusting the display position of the second operation item according to the original display position of the second operation item.
Based on the editing operation method provided by the above method embodiment, the present application provides an editing operation device, including: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is used to store one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the method described above.
Based on the editing operation method provided by the above method embodiment, the present application provides a computer-readable storage medium, where instructions are stored, and when the instructions are run on a terminal device, the terminal device is caused to execute any one of the above methods.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the system or the device disclosed by the embodiment, the description is simple because the system or the device corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of editing operations, the method comprising:
acquiring a deleting instruction triggered by a user aiming at an operation item in a webpage;
determining a first operation item according to the deletion instruction, and setting the editing state of the first operation item to be a deletion state;
setting a recovery identifier corresponding to the first operation item, wherein the recovery identifier is used for converting the editing state of the first operation item into a standard display state;
and displaying the first operation item and the recovery identifier in a result page according to the deletion state of the first operation item.
2. The method of claim 1, further comprising:
acquiring the editing state of the operation item;
and adjusting the display position of the operation item according to the editing state of the operation item.
3. The method according to claim 2, wherein when the number of the first operation items is one, the adjusting the display positions of the operation items according to the edit states of the operation items comprises:
and setting the first operation item as the Nth operation item, wherein N is the total number of the operation items.
4. The method according to claim 2, wherein when the number of the first operation items is multiple, the adjusting the display positions of the operation items according to the editing states of the operation items comprises:
sequencing the first operation items to obtain a first sequence;
and setting the first operation item to be from the (N + 1) -i) th operation item to the Nth operation item according to the first sequence, wherein i is the total number of the first operation items.
5. The method according to claim 1, wherein before acquiring a deletion instruction triggered by a user for an operation item in a web page, the method further comprises:
acquiring an opening operation instruction triggered by the user aiming at an operation item in a webpage, and converting the operation state of the operation item into an operable state;
and acquiring the editing state of the operation item, and displaying the operation item according to the editing state of the operation item.
6. The method of claim 1, further comprising: acquiring a recovery instruction generated by a user in a webpage through triggering a target recovery identifier; the target restoration flag is set according to the editing operation method of claims 1 to 5;
determining a second operation item corresponding to the target recovery identifier according to the recovery instruction;
setting the editing state of the second operation item to be a standard display state, and deleting the target recovery identifier;
and displaying the second operation item in a result page.
7. The method of claim 6, wherein prior to said displaying said second operation item, said method further comprises:
and acquiring the original display position of the second operation item, and adjusting the display position of the second operation item according to the original display position of the second operation item.
8. An editing operation apparatus, characterized in that the apparatus comprises:
the acquisition unit is used for acquiring a deletion instruction triggered by a user aiming at an operation item in a webpage;
the deleting unit is used for determining a first operation item according to the deleting instruction and setting the editing state of the first operation item to be a deleting state;
the setting unit is used for setting a recovery identifier corresponding to the first operation item, and the recovery identifier is used for converting the editing state of the first operation item into a standard display state;
and the display unit is used for displaying the first operation item and the recovery identifier in a result page according to the deletion state of the first operation item.
9. An editing operation apparatus characterized by comprising: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is to store one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the method of any of claims 1-7.
10. A computer-readable storage medium having stored therein instructions that, when executed on a terminal device, cause the terminal device to perform the method of any one of claims 1-7.
CN202011521215.XA 2020-12-21 2020-12-21 Editing operation method, device and equipment Pending CN112596724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011521215.XA CN112596724A (en) 2020-12-21 2020-12-21 Editing operation method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011521215.XA CN112596724A (en) 2020-12-21 2020-12-21 Editing operation method, device and equipment

Publications (1)

Publication Number Publication Date
CN112596724A true CN112596724A (en) 2021-04-02

Family

ID=75199771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011521215.XA Pending CN112596724A (en) 2020-12-21 2020-12-21 Editing operation method, device and equipment

Country Status (1)

Country Link
CN (1) CN112596724A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242558A1 (en) * 2005-04-25 2006-10-26 Microsoft Corporation Enabling users to redact portions of a document
CN102799575A (en) * 2012-06-29 2012-11-28 杭州迪普科技有限公司 Format processing method and apparatus
CN104424169A (en) * 2013-08-20 2015-03-18 柯尼卡美能达株式会社 Document Editing Apparatus And Document Editing Method
CN106383813A (en) * 2016-09-14 2017-02-08 点击律(上海)网络科技有限公司 Contract editing method and system
CN110209332A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of information processing method and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242558A1 (en) * 2005-04-25 2006-10-26 Microsoft Corporation Enabling users to redact portions of a document
CN102799575A (en) * 2012-06-29 2012-11-28 杭州迪普科技有限公司 Format processing method and apparatus
CN104424169A (en) * 2013-08-20 2015-03-18 柯尼卡美能达株式会社 Document Editing Apparatus And Document Editing Method
CN106383813A (en) * 2016-09-14 2017-02-08 点击律(上海)网络科技有限公司 Contract editing method and system
CN110209332A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of information processing method and terminal device

Similar Documents

Publication Publication Date Title
US8595230B1 (en) Intelligent identification of form field elements
US9058105B2 (en) Automated adjustment of input configuration
WO2018082462A1 (en) Application interface traversing method and system, and testing device
CN112070587B (en) Information sharing method and device for virtual article, electronic equipment and storage medium
CN111476446A (en) Service state monitoring processing method, device, equipment and storage medium
CN112596724A (en) Editing operation method, device and equipment
CN110378566B (en) Information checking method, device, storage medium and apparatus
CN109977423B (en) Method and device for processing word, electronic equipment and readable storage medium
CN116126697A (en) Test case generation method, device, equipment and computer readable storage medium
CN115543288A (en) Code information generation method, device, equipment and storage medium
CN113051355B (en) Document generation method and device, computer equipment and storage medium
EP4174628A1 (en) Content editing method and apparatus, and electronic device
CN112765946B (en) Chart display method and device and electronic equipment
CN112149402B (en) Document matching method, device, electronic equipment and computer readable storage medium
CN111832270B (en) Method and device for displaying line numbers and column labels of tables in non-table document and electronic equipment
CN111832268B (en) Information interaction method, readable storage medium and electronic device
CN114047855A (en) Form editing method and device and terminal equipment
CN113577775A (en) Method and device for checking art resource file, electronic device and storage medium
CN114547345B (en) Input prompting method and device combining map mode
CN111859850B (en) Method, device, electronic equipment and storage medium for integrating rich text fragments
CN112905914B (en) Page positioning method, page positioning device, computer equipment and storage medium
JP2012220994A (en) Erroneous operation estimation method, erroneous operation estimation device, and erroneous operation estimation program
CN109063207B (en) Running file query method and device and electronic equipment
CN111488504B (en) Information searching method, device, computer storage medium and terminal
CN118261128A (en) Method, medium and device for typesetting electronic book content

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