WO2018000655A1 - 富文本编辑方法、装置、移动终端和电子设备 - Google Patents
富文本编辑方法、装置、移动终端和电子设备 Download PDFInfo
- Publication number
- WO2018000655A1 WO2018000655A1 PCT/CN2016/101746 CN2016101746W WO2018000655A1 WO 2018000655 A1 WO2018000655 A1 WO 2018000655A1 CN 2016101746 W CN2016101746 W CN 2016101746W WO 2018000655 A1 WO2018000655 A1 WO 2018000655A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cursor
- picture
- address path
- string corresponding
- location
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Definitions
- the present application relates to the field of computer mobile terminal technologies, and in particular, to a rich text editing method, apparatus, mobile terminal, and electronic device.
- the technical problem to be solved by the present application is that the existing scheme cannot display the added text when adding text before and after the picture in the rich text editor.
- the embodiment of the present application provides a rich text editing method, including: obtaining a click operation of a user; determining whether the click operation is a click; and when the click operation is a click, placing the cursor Move to the location where the user clicks; determine whether the location of the cursor is within the address path string corresponding to the image; when the location of the cursor is within the address path string corresponding to the image, move the cursor to The address path string corresponding to the picture is outside.
- the step of moving the cursor outside the address path character string corresponding to the picture comprises: determining that the location of the cursor is in an address path corresponding to the picture The front part or the back part of the character string; when the cursor is located at the front of the address path character string corresponding to the picture, the cursor is moved to the front of the address path character string corresponding to the picture.
- the rich text editing method further includes: moving the cursor to the location when the cursor is located at the rear of the address path character string corresponding to the picture Behind the address path string corresponding to the picture.
- the rich text editing method is in the After the step of moving the cursor to the address path string corresponding to the picture, the method further includes: adding a line break.
- the embodiment of the present application provides a rich text editing apparatus, including: an obtaining unit, configured to acquire a click operation of a user; and a first determining unit, configured to determine whether the click operation is a click; a unit, configured to: when the first determining unit determines that the click operation is a click, move the cursor to a position clicked by the user; and the second determining unit is configured to determine whether the location of the cursor is in an address path corresponding to the image a second moving unit, configured to: when the second determining unit determines that the location of the cursor is in an address path string corresponding to the picture, move the cursor to the picture corresponding to the picture Outside the address path string.
- the second mobile unit includes: a determining subunit, configured to determine whether the location of the cursor is at a front or a rear of an address path string corresponding to the picture; a first moving subunit, configured to: when the determining subunit determines that the location of the cursor is in front of the address path character string corresponding to the picture, move the cursor to an address path corresponding to the picture In front of the string.
- the second mobile unit further includes: a second mobile subunit, configured to: when the determining subunit determines that the location of the cursor is in an address path corresponding to the picture When the back of the string is used, the cursor is moved to the end of the address path string corresponding to the picture.
- the rich text editing apparatus further includes: a line feed unit, configured to move the cursor to the address path string corresponding to the picture in the second mobile unit After the outside, add a newline character.
- the embodiment of the present application further provides a mobile terminal, including the foregoing Rich text editing device.
- the embodiment of the present application further provides a mobile terminal, including a processor, a memory, and an input/output interface connected through a system bus; the memory is configured to store a computer execution instruction, and the input/output interface is used for Receiving a click operation of the user, when the mobile terminal is running, the processor executes the computer-executed instructions stored by the memory to cause the mobile terminal to execute the rich text editing method of the first aspect.
- An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor The instruction is executed by the at least one processor to enable the at least one processor to: obtain a click operation of the user; determine whether the click operation is a click; when the click operation is a click, The cursor is moved to the position where the user clicks; the position of the cursor is determined to be in the address path string corresponding to the picture; when the position of the cursor is in the address path string corresponding to the picture, the cursor is moved Go to the address path string corresponding to the picture.
- the moving the cursor to the address path character string corresponding to the picture comprises: determining that the location of the cursor is in front of the address path character string corresponding to the picture Or the rear portion; when the cursor is located at the front of the address path character string corresponding to the picture, the cursor is moved to the front of the address path character string corresponding to the picture.
- the at least one processor is further configured to: when the location of the cursor is at a rear of an address path string corresponding to the picture, move the cursor to the picture The corresponding address path is after the string.
- the at least one processor is further enabled to:
- the embodiment of the present application further provides a non-volatile computer storage medium, the storage medium storing the computer-executable instructions of the computer-executable instructions, when executed by the electronic device, enabling the electronic device to: acquire a user's click Operation; determining whether the click operation is a click; when the click operation is a click, moving the cursor to a position clicked by the user; determining whether the location of the cursor is in the address path string corresponding to the image; When the location of the cursor is in the address path string corresponding to the picture, the cursor is moved outside the address path string corresponding to the picture.
- the moving the cursor to the address path character string corresponding to the picture comprises: determining that the location of the cursor is in front of the address path string corresponding to the picture Or the rear portion; when the cursor is located at the front of the address path character string corresponding to the picture, the cursor is moved to the front of the address path character string corresponding to the picture.
- the electronic device is further configured to: when the location of the cursor is at the rear of the address path character string corresponding to the picture, move the cursor to the address path corresponding to the picture Behind the string.
- the electronic device is further capable of: adding a line break.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program package
- the program instructions are executed to cause the computer to perform any of the methods described above when the program instructions are executed by a computer.
- the rich text editing method, device, mobile terminal, electronic device and storage medium provided by the embodiment of the present application move the cursor to the image when detecting that the determined cursor position is within the address path string corresponding to the image.
- the corresponding address path string is outside, so that the text or picture input by the user can be normally displayed on the rich text editor.
- FIG. 1 shows a flow chart of a rich text editing method according to an embodiment of the present application
- FIG. 2 shows a flow chart of a rich text editing method according to another embodiment of the present application
- FIG. 3A and FIG. 3B respectively show a schematic diagram of moving a cursor at the front of the address path character string corresponding to the picture to the front of the address path character string corresponding to the picture, and the address path string corresponding to the picture.
- the rear cursor moves to the schematic behind the address path string corresponding to the picture;
- FIG. 4 shows a schematic diagram of a rich text editing apparatus in accordance with an embodiment of the present application
- FIG. 5 shows a schematic diagram of a mobile terminal according to an embodiment of the present application
- FIG. 6 is a schematic diagram showing the hardware structure of an electronic device according to an embodiment of the present application.
- connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
- connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
- the embodiment of the present application provides a rich text editing method, which is applicable to mobile terminals such as mobile phones and tablet computers. As shown in FIG. 1 , the method includes the following steps:
- step S12 Determine whether the click operation is a click, when it is a click, perform step S13, and when it is a double click, perform other predetermined operations, for example, may select a word at the location of the cursor or a sentence at the location of the cursor.
- step S14 Determine whether the location of the cursor is in the address path string corresponding to the picture. If yes, execute step S15. If not, the cursor is in normal text, and the user can input text or picture normally without performing any operation.
- the mobile terminal when the mobile terminal detects that the determined cursor position is within the address path string corresponding to the picture, the mobile terminal moves the cursor to the address path string corresponding to the picture, so that the user can input the subsequent Text or images can be displayed normally in a rich text editor.
- FIG. 2 illustrates a rich text editing method according to another embodiment of the present application, which is applicable to mobile terminals such as mobile phones and tablet computers. As shown in FIG. 2, the method includes the following steps:
- step S22 Determine whether the click operation is a click, when it is a click, perform step S23, and when it is a double click, perform other predetermined operations, for example, may select a word at a position where the cursor is located or a sentence at a position where the cursor is located.
- step S24 Determine whether the location of the cursor is in the address path string corresponding to the picture. If yes, execute step S25. If not, the cursor is in normal text, and the user can input text or picture normally without performing any operation.
- step S25 Determine whether the location of the cursor is at the front or the back of the address path string corresponding to the picture.
- step S26 is performed, and the position of the cursor is in the picture.
- step S27 is performed.
- the user may want to add input text or pictures before or after the picture. Due to the large contact area between the finger and the touch screen, it is highly likely that the user clicks does not cause the cursor position to move just before or after the picture, but within the picture.
- the user wants to add input text or picture before the picture, the user will click on the front of the picture even if the cursor position is in the address path character corresponding to the picture. In the string, it is also in the front part of the address path string corresponding to the picture.
- the mobile terminal detects that the position of the cursor is at the front of the address path string corresponding to the picture, the cursor can be moved to the picture corresponding to the picture.
- the address path is in front of the string so that the user can add text or images directly to the picture.
- the mobile terminal can move the cursor to the picture when detecting that the position of the cursor is at the back of the address path string corresponding to the picture.
- the corresponding address path string is behind, so that the user can directly add input text or picture after the picture.
- the mobile terminal automatically moves the cursor to the front or the rear of the address path string corresponding to the picture by determining whether the location of the cursor is at the front or the back of the address path string corresponding to the picture, thereby further improving the user experience.
- the method may further include:
- the picture is further clearly separated from the normal text by a line break to facilitate user editing.
- a line break to facilitate user editing.
- the cursor is moved to the front of the address path character string corresponding to the picture in step S26, the picture is moved to the next line by the line feed, and the user can input the text or the picture more clearly in the previous line;
- the cursor is moved in step S27
- the cursor is moved to the next line by the line feed, so that the user can input text or picture more clearly on the next line.
- the apparatus includes:
- the obtaining unit 31 is configured to acquire a click operation of the user.
- the click operation is usually done with a finger, and of course it can be a touch pen or the like.
- the first determining unit 32 is configured to determine whether the click operation is a click.
- the first moving unit 33 is configured to move the cursor to the position clicked by the user when the first determining unit 32 determines that the click operation is a click.
- other predetermined operations may be performed, such as selecting a word at the position of the cursor or a sentence at the position of the cursor.
- the second determining unit 34 is configured to determine whether the location of the cursor is in the address path string corresponding to the picture.
- the mobile terminal when the mobile terminal detects that the determined cursor position is within the address path string corresponding to the picture, the mobile terminal moves the cursor to the address path string corresponding to the picture, so that the user can input the subsequent Text or images can be displayed normally in a rich text editor.
- the foregoing second mobile unit 35 may include:
- the determining subunit is configured to determine whether the cursor is located at the front or the back of the address path string corresponding to the picture.
- the user may want to add input text or pictures before or after the picture. Due to the large contact area between the finger and the touch screen, it is highly likely that the user clicks does not cause the cursor position to move just before or after the picture, but within the picture.
- the user wants to add input text or picture before the picture, the user will click on the front of the picture. Even if the cursor position is in the address path string corresponding to the picture, it will be in the front part of the address path string corresponding to the picture, and the mobile terminal is When it is detected that the position of the cursor is at the front of the address path string corresponding to the picture, the cursor can be moved to the front of the address path string corresponding to the picture, so that the user can add the input text or picture directly before the picture.
- the mobile terminal can move the cursor to the picture when detecting that the position of the cursor is at the back of the address path string corresponding to the picture.
- the corresponding address path string is behind, so that the user can add input text or picture after the direct picture.
- the mobile terminal automatically moves the cursor to the location corresponding to the picture by determining whether the location of the cursor is at the front or the back of the address path string corresponding to the picture.
- the front or rear of the path path string further enhances the user experience.
- the rich text editing apparatus may further include: a line break unit for adding a line break after the second moving unit 35 moves the cursor to the address path character string corresponding to the picture.
- the picture is further clearly separated from the normal text by a line break to facilitate user editing.
- the second moving unit 35 moves the cursor to the front of the address path character string corresponding to the picture
- the picture is moved to the next line by the line feed, and the user can input the text or the picture more clearly in the previous line
- the second mobile unit 35 When the cursor is moved to the end of the address path string corresponding to the picture, the cursor is moved to the next line by the line feed, so that the user can input text or picture more clearly on the next line.
- the embodiment of the present application further provides a mobile terminal, comprising the rich text editing device as described above, moving the cursor to the image when detecting that the determined cursor position is within the address path string corresponding to the image.
- the corresponding address path string is outside, so that the text or picture input by the user can be normally displayed on the rich text editor.
- the embodiment of the present application further provides a mobile terminal, as shown in FIG. 4, which includes a processor 40, a memory 41, and an input/output interface 43 connected through a system bus 42.
- the memory 41 is configured to store a computer execution instruction
- input/ The output interface 43 is for receiving a click operation of the user.
- the processor 40 executes a computer execution instruction stored in the memory 41 to cause the movement to execute the control method as described in FIG. 1 or 2.
- FIG. 1 or 2 For a specific control method, refer to the related description in the foregoing embodiment shown in FIG. 1 or 2, and details are not described herein again.
- the mobile terminal in the embodiment detects that the determined cursor position is in the address path string corresponding to the picture, the mobile terminal moves the cursor to the address path string corresponding to the picture, so that the user can subsequently lose the cursor.
- the entered text or image can be displayed normally on the rich text editor.
- the present application further provides an electronic device including at least one processor 810; and a memory 800 communicably coupled to the at least one processor 810; wherein the memory 800 stores
- the at least one processor 810 executes instructions executed by the at least one processor 810 to enable the at least one processor 810 to: obtain a user's click operation; determine whether the click operation is a click; When the click operation is a click, move the cursor to the position where the user clicks; determine whether the location of the cursor is in the address path string corresponding to the picture; when the cursor is located at the address corresponding to the picture When the path string is inside, the cursor is moved outside the address path string corresponding to the picture.
- the electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
- the moving the cursor to the address path character string corresponding to the picture comprises: determining that the location of the cursor is in an address path character corresponding to the picture The front portion of the string is still the rear portion; when the cursor is located at the front of the address path character string corresponding to the picture, the cursor is moved to the front of the address path character string corresponding to the picture.
- the at least one processor is further configured to: when the location of the cursor is at a rear of an address path string corresponding to the picture, move the cursor to The address path string corresponding to the picture is behind.
- the at least one processor is further enabled to: add a line break.
- the embodiment of the present application further provides a non-volatile computer storage medium, the storage medium storing the computer-executable instructions of the computer-executable instructions, when executed by the electronic device, enabling the electronic device to: acquire a user's click Operation; determining whether the click operation is a click; when the click operation is a click, moving the cursor to a position clicked by the user; determining whether the location of the cursor is in the address path string corresponding to the picture; When the location of the cursor is in the address path string corresponding to the picture, the cursor is moved outside the address path string corresponding to the picture.
- the moving the cursor to the address path character string corresponding to the picture comprises: determining that the location of the cursor is in an address path character corresponding to the picture The front portion of the string is still the rear portion; when the cursor is located at the front of the address path character string corresponding to the picture, the cursor is moved to the front of the address path character string corresponding to the picture.
- the electronic device is further configured to: when the location of the cursor is at the rear of the address path character string corresponding to the picture, move the cursor to the picture The corresponding address path is after the string.
- the electronic device is further enabled to: add a line break.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer When the computer is caused to perform any of the above methods.
- embodiments of the present application may be provided as a method, a system, Or a computer program product.
- the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
- the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种富文本编辑方法、装置、移动终端和电子设备,其中所述方法包括:获取用户的点击操作;判断所述点击操作是否为单击;当所述点击操作为单击时,将光标移动到用户点击的位置处;判断光标所在位置是否处于图片所对应的地址路径字符串内;当所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。由此,可以使得用户后续输入的文本或图片可以正常在富文本编辑器上显示出来。
Description
交叉引用
本申请要求在2016年06月28日提交中国专利局、申请号为201610490572.1、发明名称为“富文本编辑方法、装置和移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及计算机移动终端技术领域,具体涉及一种富文本编辑方法、装置、移动终端和电子设备。
在移动互联网时代,手机等移动终端在人们生活中的应用越来越广泛。人们也习惯于在移动终端上进行文本编辑。目前,越来越多的应用都会采用富文本编辑器来实现图文混排编辑,例如即时通讯应用和便签应用等。对于即时通讯应用而言,对话框采用图文混排编辑,会使得用户在进行网络聊天时更加生动;对于便签应用而言,在便签中插入拍摄的图片会使得便签的记录更为方便和具体。
当用户想在该图片前后加入文字时,需要在移动终端的触摸屏上点击,以使得光标位于图片前或后,并输入文字,然而经常会出现富文本编辑器上都显示不出来用户所输入的文字的情况。本申请发明人经过研究发现,图片通常是以地址路径字符串的形式插入到富文本中的,例如以<img src=”图片地址”>的形式,而用户在移动终端的触摸屏上点击的过程中,由于手
指与触摸屏的接触面积较大,极大可能用户点击并不能使光标位置正好移动在图片之前或之后,而是点击在了图片内,反映在富文本编辑器中,光标实际上位于图片所对应的地址路径字符串中,这样无论用户输入多少文字,富文本编辑器上始终不能显示。
发明内容
本申请要解决的技术问题在于现有方案在富文本编辑器中的图片前后加入文字时无法显示所加入的文字。
为此,第一方面,本申请实施例提供了一种富文本编辑方法,包括:获取用户的点击操作;判断所述点击操作是否为单击;当所述点击操作为单击时,将光标移动到用户点击的位置处;判断光标所在位置是否处于图片所对应的地址路径字符串内;当所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。
本申请实施例所述的方法,优选地,所述将所述光标移动到所述图片所对应的地址路径字符串外的步骤包括:判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部还是后部;当所述光标所在位置处于所述图片所对应的地址路径字符串的前部时,将所述光标移动到所述图片所对应的地址路径字符串前方。
本申请实施例所述的方法,优选地,所述富文本编辑方法还包括:当所述光标所在位置处于所述图片所对应的地址路径字符串的后部时,将所述光标移动到所述图片所对应的地址路径字符串后方。
本申请实施例所述的方法,优选地,所述富文本编辑方法在所述将所
述光标移动到所述图片所对应的地址路径字符串外的步骤之后,还包括:增加换行符。
第二方面,本申请实施例提供了一种富文本编辑装置,包括:获取单元,用于获取用户的点击操作;第一判断单元,用于判断所述点击操作是否为单击;第一移动单元,用于当所述第一判断单元判断所述点击操作为单击时,将光标移动到用户点击的位置处;第二判断单元,用于判断光标所在位置是否处于图片所对应的地址路径字符串内;第二移动单元,用于当所述第二判断单元判断所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。
本申请实施例所述的装置,优选地,所述第二移动单元包括:判断子单元,用于判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部还是后部;第一移动子单元,用于当所述判断子单元判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部时,将所述光标移动到所述图片所对应的地址路径字符串前方。
本申请实施例所述的装置,优选地,所述第二移动单元还包括:第二移动子单元,用于当所述判断子单元判断所述光标所在位置处于所述图片所对应的地址路径字符串的后部时,将所述光标移动到所述图片所对应的地址路径字符串后方。
本申请实施例所述的装置,优选地,所述富文本编辑装置还包括:换行符单元,用于在所述第二移动单元将所述光标移动到所述图片所对应的地址路径字符串外之后,增加换行符。
相应地,第三方面,本申请实施例还提供了一种移动终端,包括上述
的富文本编辑装置。
相应地,第四方面,本申请实施例还提供了一种移动终端,其包括通过系统总线连接的处理器、存储器和输入/输出接口;存储器用于存储计算机执行指令,输入/输出接口用于接收用户的点击操作,当所述移动终端运行时,所述处理器执行所述存储器存储的计算机执行指令,以使所述移动终端执行第一方面所述的富文本编辑方法。
本申请实施例还提供了一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取用户的点击操作;判断所述点击操作是否为单击;当所述点击操作为单击时,将光标移动到用户点击的位置处;判断光标所在位置是否处于图片所对应的地址路径字符串内;当所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。
上述的电子设备,优选地,所述将所述光标移动到所述图片所对应的地址路径字符串外,包括:判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部还是后部;当所述光标所在位置处于所述图片所对应的地址路径字符串的前部时,将所述光标移动到所述图片所对应的地址路径字符串前方。
上述的电子设备,优选地,使所述至少一个处理器还能够:当所述光标所在位置处于所述图片所对应的地址路径字符串的后部时,将所述光标移动到所述图片所对应的地址路径字符串后方。
上述的电子设备,优选地,在所述将所述光标移动到所述图片所对应的地址路径字符串外之后,使所述至少一个处理器还能够:
增加换行符。
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:获取用户的点击操作;判断所述点击操作是否为单击;当所述点击操作为单击时,将光标移动到用户点击的位置处;判断光标所在位置是否处于图片所对应的地址路径字符串内;当所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。
上述的存储介质,优选地,所述将所述光标移动到所述图片所对应的地址路径字符串外,包括:判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部还是后部;当所述光标所在位置处于所述图片所对应的地址路径字符串的前部时,将所述光标移动到所述图片所对应的地址路径字符串前方。
上述的存储介质,优选地,使得电子设备还能够:当所述光标所在位置处于所述图片所对应的地址路径字符串的后部时,将所述光标移动到所述图片所对应的地址路径字符串后方。
上述的存储介质,优选地,在所述将所述光标移动到所述图片所对应的地址路径字符串外之后,使得电子设备还能够:增加换行符。
本申请实施例还提出了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包
括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一方法。
本申请实施例所提供的富文本编辑方法、装置、移动终端、电子设备和存储介质,在检测到用户点击所确定的光标位置处于图片所对应的地址路径字符串内时,将光标移动到图片所对应的地址路径字符串外,从而可以使得用户后续输入的文本或图片可以正常在富文本编辑器上显示出来。
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了根据本申请实施例的富文本编辑方法的流程图;
图2示出了根据本申请另一实施例的富文本编辑方法的流程图;
图3A和图3B分别示出了将处于图片所对应的地址路径字符串的前部的光标移动到图片所对应的地址路径字符串前方的示意图,以及将处于图片所对应的地址路径字符串的后部的光标移动到图片所对应的地址路径字符串后方的示意图;
图4示出了根据本申请实施例的富文本编辑装置的示意图;
图5示出了根据本申请实施例的移动终端的示意图;
图6示出了根据本申请实施例中电子设备的硬件结构示意图。
下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。
此外,下面所描述的本申请不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
本申请实施例提供了一种富文本编辑方法,适用于手机、平板电脑等移动终端,如图1所示,该方法包括如下步骤:
S11.获取用户的点击操作。对于手机、平板电脑等移动终端而言,点击操作通常是用手指完成的,当然也可以是触碰笔等。
S12.判断所述点击操作是否为单击,当为单击时,执行步骤S13,当为双击时,执行其他预定操作,例如可以是选择光标所在位置的词语或光标所在位置的句子等。
S13.将光标移动到用户点击的位置处。
S14.判断光标所在位置是否处于图片所对应的地址路径字符串内,如果是则执行步骤S15,如果否,则说明光标处于普通文本中,用户可正常输入文本或图片,无需执行任何操作。
S15.将光标移动到图片所对应的地址路径字符串外。例如,当图片以<img src=”图片地址”>的形式插入到富文本中时,将光标移到在前的尖括号“<”前方,或者将光标移到在后的尖括号“>”后方,从而可以使得用户后续输入的文本或图片可以正常在富文本编辑器上显示出来。
通过上述方法步骤,移动终端在检测到用户点击所确定的光标位置处于图片所对应的地址路径字符串内时,将光标移动到图片所对应的地址路径字符串外,从而可以使得用户后续输入的文本或图片可以正常在富文本编辑器上显示出来。
图2示出了根据本申请另一实施例的富文本编辑方法,适用于手机、平板电脑等移动终端,如图2所示,该方法包括如下步骤:
S21.获取用户的点击操作。对于手机、平板电脑等移动终端而言,点击操作通常是用手指完成的,当然也可以是触碰笔等。
S22.判断所述点击操作是否为单击,当为单击时,执行步骤S23,当为双击时,执行其他预定操作,例如可以是选择光标所在位置的词语或光标所在位置的句子等。
S23.将光标移动到用户点击的位置处。
S24.判断光标所在位置是否处于图片所对应的地址路径字符串内,如果是则执行步骤S25,如果否,则说明光标处于普通文本中,用户可正常输入文本或图片,无需执行任何操作。
S25.判断光标所在位置处于图片所对应的地址路径字符串的前部还是后部,当光标所在位置处于图片所对应的地址路径字符串的前部时,执行步骤S26,当光标所在位置处于图片所对应的地址路径字符串的后部时,执行步骤S27。
S26.将光标移动到图片所对应的地址路径字符串前方。如图3A所示,当检测到光标所在位置处于图片前部时,对于图片以<img src=”图片地址”>的形式插入到富文本中的情况,此时光标所在位置处于图片所对应的地址路径字符串的前部,在此情况下,移动终端将光标移出到图片外,并将光标置于图片前方,即将光标移到在前的尖括号“<”前方。
S27.将光标移动到图片所对应的地址路径字符串后方。如图3B所示,当检测到光标所在位置处于图片后部时,对于图片以<img src=”图片地址”>的形式插入到富文本中的情况,此时光标所在位置处于图片所对应的地址路径字符串的后部,在此情况下,移动终端将光标移出到图片外,并将光标置于图片后方,即将光标移到在前的尖括号“<”后方。
用户可能会想在图片之前或之后增加输入文本或图片,由于手指与触摸屏的接触面积较大,极大可能用户点击并不能使光标位置正好移动在图片之前或之后,而是在图片内。用户希望在图片之前增加输入文本或图片时,用户会点击图片前方,即使光标位置处于图片所对应的地址路径字符
串内,也会处于图片所对应的地址路径字符串的前部,移动终端在检测到光标所在位置处于图片所对应的地址路径字符串的前部时,则可以将光标移动到图片所对应的地址路径字符串前方,从而用户即可以直接在图片之前增加输入文本或图片。
同样地,用户希望在图片之后增加输入文本或图片时,用户会点击图片后方,移动终端在检测到光标所在位置处于图片所对应的地址路径字符串的后部时,则可以将光标移动到图片所对应的地址路径字符串后方,从而用户即可以直接在图片之后增加输入文本或图片。
通过上述方法步骤,移动终端通过判断光标所在位置处于图片所对应的地址路径字符串的前部还是后部,自动将光标移动到图片所对应的地址路径字符串前方或后方,进一步提升了用户体验。
进一步优选地,在上述步骤S26或S27之后还可以包括:
S28.增加换行符。
由此,通过换行符进一步清楚地将图片与普通文本分隔开,以方便用户编辑。例如当步骤S26中将光标移动到图片所对应的地址路径字符串前方时,通过换行符将图片移动到下一行,用户可以更清楚地在上一行输入文本或图片;当步骤S27中将光标移动到图片所对应的地址路径字符串后方时,通过换行符将光标移至下一行,从而用户可以更清楚地在下一行输入文本或图片。
相应地,本申请另一实施例提供了一种富文本编辑装置,适用于手机、平板电脑等移动终端,如图4所示,该装置包括:
获取单元31,用于获取用户的点击操作。对于手机、平板电脑等移动
终端而言,点击操作通常是用手指完成的,当然也可以是触碰笔等。
第一判断单元32,用于判断所述点击操作是否为单击。
第一移动单元33,用于在第一判断单元32判断所述点击操作为单击时,将光标移动到用户点击的位置处。当判断为双击时,则可以执行其他预定操作,例如可以是选择光标所在位置的词语或光标所在位置的句子等。
第二判断单元34,用于判断光标所在位置是否处于图片所对应的地址路径字符串内。
第二移动单元35,用于在第二判断单元34判断光标所在位置处于图片所对应的地址路径字符串内时,将光标移动到图片所对应的地址路径字符串外。例如,当图片以<img src=”图片地址”>的形式插入到富文本中时,将光标移到在前的尖括号“<”前方,或者将光标移到在后的尖括号“>”后方,从而可以使得用户后续输入的文本或图片可以正常在富文本编辑器上显示出来。如果判断光标所在位置处于图片所对应的地址路径字符串外,则说明光标处于普通文本中,用户可正常输入文本或图片,无需执行任何操作。
通过上述各个单元,移动终端在检测到用户点击所确定的光标位置处于图片所对应的地址路径字符串内时,将光标移动到图片所对应的地址路径字符串外,从而可以使得用户后续输入的文本或图片可以正常在富文本编辑器上显示出来。
优选地,上述第二移动单元35可以包括:
判断子单元,用于判断光标所在位置处于图片所对应的地址路径字符串的前部还是后部。
第一移动子单元,用于当判断子单元判断光标所在位置处于图片所对应的地址路径字符串的前部时,将光标移动到图片所对应的地址路径字符串前方。例如,当图片以<img src=”图片地址”>的形式插入到富文本中时,将光标移到在前的尖括号“<”前方。
第二移动子单元,用于当判断子单元判断光标所在位置处于图片所对应的地址路径字符串的后部时,将光标移动到图片所对应的地址路径字符串后方。例如,当图片以<img src=”图片地址”>的形式插入到富文本中时,将光标移到在后的尖括号“>”后方。
用户可能会想在图片之前或之后增加输入文本或图片,由于手指与触摸屏的接触面积较大,极大可能用户点击并不能使光标位置正好移动在图片之前或之后,而是在图片内。用户希望在图片之前增加输入文本或图片时,用户会点击图片前方,即使光标位置处于图片所对应的地址路径字符串内,也会处于图片所对应的地址路径字符串的前部,移动终端在检测到光标所在位置处于图片所对应的地址路径字符串的前部时,则可以将光标移动到图片所对应的地址路径字符串前方,从而用户即可以直接图片之前增加输入文本或图片。
同样地,用户希望在图片之后增加输入文本或图片时,用户会点击图片后方,移动终端在检测到光标所在位置处于图片所对应的地址路径字符串的后部时,则可以将光标移动到图片所对应的地址路径字符串后方,从而用户即可以直接图片之后增加输入文本或图片。
通过上述各个子单元,移动终端通过判断光标所在位置处于图片所对应的地址路径字符串的前部还是后部,自动将光标移动到图片所对应的地
址路径字符串前方或后方,进一步提升了用户体验。
进一步优选地,上述富文本编辑装置还可以包括:换行符单元,用于在第二移动单元35将光标移动到图片所对应的地址路径字符串外之后,增加换行符。
由此,通过换行符进一步清楚地将图片与普通文本分隔开,以方便用户编辑。例如当第二移动单元35将光标移动到图片所对应的地址路径字符串前方时,通过换行符将图片移动到下一行,用户可以更清楚地在上一行输入文本或图片;当第二移动单元35将光标移动到图片所对应的地址路径字符串后方时,通过换行符将光标移至下一行,从而用户可以更清楚地在下一行输入文本或图片。
本申请实施例还提供了一种移动终端,其包括如上所述的富文本编辑装置,在检测到用户点击所确定的光标位置处于图片所对应的地址路径字符串内时,将光标移动到图片所对应的地址路径字符串外,从而可以使得用户后续输入的文本或图片可以正常在富文本编辑器上显示出来。
本申请实施例还提供了一种移动终端,如图4所述,其包括通过系统总线42连接的处理器40、存储器41和输入/输出接口43;存储器41用于存储计算机执行指令,输入/输出接口43用于接收用户的点击操作,当移动终端运行时,处理器40执行存储器41存储的计算机执行指令,以使移动执行如图1或2所述的控制方法。具体的控制方法可参见上述如图1或2所示的实施例中的相关描述,此处不再赘述。本实施例中的移动终端在检测到用户点击所确定的光标位置处于图片所对应的地址路径字符串内时,将光标移动到图片所对应的地址路径字符串外,从而可以使得用户后续输
入的文本或图片可以正常在富文本编辑器上显示出来。
如图6所示,本申请还提供了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够:获取用户的点击操作;判断所述点击操作是否为单击;当所述点击操作为单击时,将光标移动到用户点击的位置处;判断光标所在位置是否处于图片所对应的地址路径字符串内;当所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。
所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。
本实施例的所述电子设备,优选地,所述将所述光标移动到所述图片所对应的地址路径字符串外,包括:判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部还是后部;当所述光标所在位置处于所述图片所对应的地址路径字符串的前部时,将所述光标移动到所述图片所对应的地址路径字符串前方。
本实施例的所述电子设备,优选地,使所述至少一个处理器还能够:当所述光标所在位置处于所述图片所对应的地址路径字符串的后部时,将所述光标移动到所述图片所对应的地址路径字符串后方。
本实施例的所述电子设备,优选地,在所述将所述光标移动到所述图片所对应的地址路径字符串外之后,使所述至少一个处理器还能够:增加换行符。
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:获取用户的点击操作;判断所述点击操作是否为单击;当所述点击操作为单击时,将光标移动到用户点击的位置处;判断光标所在位置是否处于图片所对应的地址路径字符串内;当所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。
本实施例的所述存储介质,优选地,所述将所述光标移动到所述图片所对应的地址路径字符串外,包括:判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部还是后部;当所述光标所在位置处于所述图片所对应的地址路径字符串的前部时,将所述光标移动到所述图片所对应的地址路径字符串前方。
本实施例的所述存储介质,优选地,使得电子设备还能够:当所述光标所在位置处于所述图片所对应的地址路径字符串的后部时,将所述光标移动到所述图片所对应的地址路径字符串后方。
本实施例的所述存储介质,优选地,在所述将所述光标移动到所述图片所对应的地址路径字符串外之后,使得电子设备还能够:增加换行符。
本申请实施例还提出了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一方法。
本领域内的技术人员还应理解,本申请的实施例可提供为方法、系统、
或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的,应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。
Claims (18)
- 一种富文本编辑方法,其特征在于,包括:获取用户的点击操作;判断所述点击操作是否为单击;当所述点击操作为单击时,将光标移动到用户点击的位置处;判断光标所在位置是否处于图片所对应的地址路径字符串内;当所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。
- 根据权利要求1所述的富文本编辑方法,其特征在于,所述将所述光标移动到所述图片所对应的地址路径字符串外的步骤包括:判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部还是后部;当所述光标所在位置处于所述图片所对应的地址路径字符串的前部时,将所述光标移动到所述图片所对应的地址路径字符串前方。
- 根据权利要求2所述的富文本编辑方法,其特征在于,还包括:当所述光标所在位置处于所述图片所对应的地址路径字符串的后部时,将所述光标移动到所述图片所对应的地址路径字符串后方。
- 根据权利要求1-3中任一项所述的富文本编辑方法,其特征在于,在所述将所述光标移动到所述图片所对应的地址路径字符串外的步骤之后,还包括:增加换行符。
- 一种富文本编辑装置,其特征在于,包括:获取单元,用于获取用户的点击操作;第一判断单元,用于判断所述点击操作是否为单击;第一移动单元,用于当所述第一判断单元判断所述点击操作为单击时,将光标移动到用户点击的位置处;第二判断单元,用于判断光标所在位置是否处于图片所对应的地址路径字符串内;第二移动单元,用于当所述第二判断单元判断所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。
- 根据权利要求5所述的富文本编辑装置,其特征在于,所述第二移动单元包括:判断子单元,用于判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部还是后部;第一移动子单元,用于当所述判断子单元判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部时,将所述光标移动到所述图片所对应的地址路径字符串前方。
- 根据权利要求5所述的富文本编辑装置,其特征在于,所述第二移动单元还包括:第二移动子单元,用于当所述判断子单元判断所述光标所在位置处于所述图片所对应的地址路径字符串的后部时,将所述光标移动到所述图片所对应的地址路径字符串后方。
- 根据权利要求5-7中任一项所述的富文本编辑装置,其特征在于, 还包括:换行符单元,用于在所述第二移动单元将所述光标移动到所述图片所对应的地址路径字符串外之后,增加换行符。
- 一种移动终端,其特征在于,包括权利要求5-8中任一项所述的富文本编辑装置。
- 一种电子设备,其特征在于包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取用户的点击操作;判断所述点击操作是否为单击;当所述点击操作为单击时,将光标移动到用户点击的位置处;判断光标所在位置是否处于图片所对应的地址路径字符串内;当所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。
- 根据权利要求10所述的电子设备,其特征在于,所述将所述光标移动到所述图片所对应的地址路径字符串外,包括:判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部还是后部;当所述光标所在位置处于所述图片所对应的地址路径字符串的前部时,将所述光标移动到所述图片所对应的地址路径字符串前方。
- 根据权利要求11述的电子设备,其特征在于,使所述至少一个处 理器还能够:当所述光标所在位置处于所述图片所对应的地址路径字符串的后部时,将所述光标移动到所述图片所对应的地址路径字符串后方。
- 根据权利要求10-12中任一项所述的电子设备,其特征在于,在所述将所述光标移动到所述图片所对应的地址路径字符串外之后,使所述至少一个处理器还能够增加换行符。
- 一种非易失性计算机存储介质,其特征在于:所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:获取用户的点击操作;判断所述点击操作是否为单击;当所述点击操作为单击时,将光标移动到用户点击的位置处;判断光标所在位置是否处于图片所对应的地址路径字符串内;当所述光标所在位置处于所述图片所对应的地址路径字符串内时,将所述光标移动到所述图片所对应的地址路径字符串外。
- 根据权利要求14所述的存储介质,其特征在于,所述将所述光标移动到所述图片所对应的地址路径字符串外,包括:判断所述光标所在位置处于所述图片所对应的地址路径字符串的前部还是后部;当所述光标所在位置处于所述图片所对应的地址路径字符串的前部时,将所述光标移动到所述图片所对应的地址路径字符串前方。
- 根据权利要求15所述的存储介质,其特征在于,使得电子设备还能够:当所述光标所在位置处于所述图片所对应的地址路径字符串的后部 时,将所述光标移动到所述图片所对应的地址路径字符串后方。
- 根据权利要求14-16中任一项所述的存储介质,其特征在于,在所述将所述光标移动到所述图片所对应的地址路径字符串外之后,使得电子设备还能够:增加换行符。
- 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610490572.1 | 2016-06-28 | ||
CN201610490572.1A CN106202014A (zh) | 2016-06-28 | 2016-06-28 | 富文本编辑方法、装置和移动终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018000655A1 true WO2018000655A1 (zh) | 2018-01-04 |
Family
ID=57460970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/101746 WO2018000655A1 (zh) | 2016-06-28 | 2016-10-11 | 富文本编辑方法、装置、移动终端和电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106202014A (zh) |
WO (1) | WO2018000655A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110188326A (zh) * | 2018-02-22 | 2019-08-30 | 深圳市萌蛋互动网络有限公司 | 富文本生成方法、装置、计算机设备和存储介质 |
CN113821756A (zh) * | 2021-11-24 | 2021-12-21 | 山东捷瑞数字科技股份有限公司 | 基于富文本编辑器的Word图片自动转存方法及系统 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109753644B (zh) * | 2018-12-26 | 2023-11-28 | 百度在线网络技术(北京)有限公司 | 一种富文本编辑方法、装置、移动终端及存储介质 |
CN111859850B (zh) * | 2020-07-29 | 2024-05-10 | 厦门亿联网络技术股份有限公司 | 富文本片段整体化的方法、装置、电子设备及存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101052948A (zh) * | 2004-09-10 | 2007-10-10 | 图形公司 | 对象过程图应用程序开发系统 |
CN104932771A (zh) * | 2014-03-20 | 2015-09-23 | Lg电子株式会社 | 移动终端及其控制方法 |
CN105138503A (zh) * | 2015-08-27 | 2015-12-09 | 网易(杭州)网络有限公司 | 一种数据编辑方法及装置 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8610671B2 (en) * | 2007-12-27 | 2013-12-17 | Apple Inc. | Insertion marker placement on touch sensitive display |
CN106445322A (zh) * | 2012-11-26 | 2017-02-22 | 中兴通讯股份有限公司 | 一种文本处理方法及终端 |
CN103761216B (zh) * | 2013-12-24 | 2018-01-16 | 上海斐讯数据通信技术有限公司 | 编辑文本的方法及移动终端 |
CN104508616A (zh) * | 2014-03-18 | 2015-04-08 | 华为终端有限公司 | 文本的输入方法、装置和终端 |
CN104102411B (zh) * | 2014-07-17 | 2018-04-20 | 广东欧珀移动通信有限公司 | 一种文本编辑方法和文本编辑装置 |
CN104834433B (zh) * | 2015-04-24 | 2018-02-02 | 小米科技有限责任公司 | 文本编辑方法、装置及终端 |
CN105446647A (zh) * | 2015-12-25 | 2016-03-30 | 智慧方舟科技有限公司 | 一种电纸书及其阅读笔记实现方法、装置 |
-
2016
- 2016-06-28 CN CN201610490572.1A patent/CN106202014A/zh active Pending
- 2016-10-11 WO PCT/CN2016/101746 patent/WO2018000655A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101052948A (zh) * | 2004-09-10 | 2007-10-10 | 图形公司 | 对象过程图应用程序开发系统 |
CN104932771A (zh) * | 2014-03-20 | 2015-09-23 | Lg电子株式会社 | 移动终端及其控制方法 |
CN105138503A (zh) * | 2015-08-27 | 2015-12-09 | 网易(杭州)网络有限公司 | 一种数据编辑方法及装置 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110188326A (zh) * | 2018-02-22 | 2019-08-30 | 深圳市萌蛋互动网络有限公司 | 富文本生成方法、装置、计算机设备和存储介质 |
CN110188326B (zh) * | 2018-02-22 | 2023-08-11 | 深圳市萌蛋互动网络有限公司 | 富文本生成方法、装置、计算机设备和存储介质 |
CN113821756A (zh) * | 2021-11-24 | 2021-12-21 | 山东捷瑞数字科技股份有限公司 | 基于富文本编辑器的Word图片自动转存方法及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN106202014A (zh) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2013338327B2 (en) | Animation sequence associated with image | |
US10642458B2 (en) | Gestures for selecting text | |
CN110276007B (zh) | 用于提供信息的装置和方法 | |
JP6700254B2 (ja) | 通話中のリアルタイム共有 | |
JP6473151B2 (ja) | アプリケーションインターフェースを表示する方法、装置および電子デバイス | |
US10394371B2 (en) | Method for controlling content and electronic device thereof | |
WO2019075888A1 (zh) | 一种文档批注方法、装置和电子设备 | |
JP6655275B2 (ja) | モバイル装置及びその制御方法 | |
KR20190137903A (ko) | 컴퓨팅 디바이스 인터렉션에 응답하여 비디오 미리보기 | |
US20140137020A1 (en) | Graphical user interface for navigating applications | |
EP2778870A1 (en) | Method and apparatus for copying and pasting of data | |
US9652076B1 (en) | Gesture fingerprinting | |
TW201539219A (zh) | 現代文件存檔及同步狀態 | |
JP2015001977A (ja) | ユーザ・インターフェースのための入力モード間の自動切り替え | |
WO2019071802A1 (zh) | 文档批注方法、装置和电子设备 | |
WO2018000655A1 (zh) | 富文本编辑方法、装置、移动终端和电子设备 | |
WO2017063443A1 (zh) | 一种消息显示方法及装置 | |
WO2019052251A1 (zh) | 数据分享方法、装置及电子设备 | |
CN106201204B (zh) | 启动应用功能的方法和装置 | |
US20180283873A1 (en) | Calibration method based on dead reckoning technology and portable electronic device | |
CN106095309A (zh) | 终端的操作控制方法及装置 | |
WO2019242274A1 (zh) | 一种内容处理方法及装置 | |
CN105278843B (zh) | 一种基于远程控制的手势快捷操作方法及系统 | |
KR20160140795A (ko) | 일시적인 사용자 인터페이스 엘리먼트 | |
EP2824561A1 (en) | Electronic device and method for changing order or location of content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16907051 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16907051 Country of ref document: EP Kind code of ref document: A1 |