Now has a new demand, the need to implement a similar to the H5 pages online editing function, is our common H5 activities page, we can add pictures, text and can drag, after the completion of the modification can be preserved, is like this function, please how to do it, actually add text functions such as it was to say, because the mobile end size too much, how should I add text or pictures to record the location of it, to the acquired data should be how to integrate, thought for two days don't really have a good idea, can help said, a little can, maybe you can find some inspiration,
CodePudding user response:
Can refer to the implementation of H5 editor H5 - Dooring, there are detailed on making the implementation of the tutorial.
CodePudding user response:
1. The first one is to use HTML itself support contentable can edit the properties, long time ago that editor and configuration diagram, using this technique
2. The second, oneself use div do a drawing board, in the above realize all editing operations (through the event processing), press, drag, and so on