| CPC G06F 40/166 (2020.01) [G06F 40/106 (2020.01)] | 12 Claims |

|
1. A method for document creation applied in an electronic device with a processor and a display, comprising:
in an editing interface of a current document displayed on the display, calling, by the processor, an operation panel in response to detecting that a user types a set character and a text string following the set character in the current document, and displaying the operation panel on the display;
generating by the processor, on the operation panel, a creation control prompting to create a new document having the text string typed in the current document by the user as a title of the new document;
creating the new document by the processor, in response to an operation performed by the user on the creation control, wherein the title of the new document is the text string typed in the current document by the user;
taking the new document or a content block in the new document as a new reference object; and
establishing, by the processor, a reference relationship between the current document and the reference object, wherein the reference relationship comprises a synchronization relationship between the current document and the reference object.
|