As shown above, I’ve been working on this for over two months: wangEditor (V4.0) – typescript rich text editor for the Web, lightweight, concise, easy to use, open source and free.
How andwangEditorUnderstanding of the
In the second half of 2019, my old employer had a need to use rich text to edit articles or data with graphics. At that time, it was also awkward (I had never used rich text and never heard of it), and my old employer had only one front end (also poor T-T). So lead to want to ask colleagues also can’t, can only rely on their own Baidu. Now IT is still quite profound, I found all kinds of rich text, and finally I used wangEditor (only this one is the easiest to use, ha ha ha). At that time, IT was v3 version. Then I saw the official QQ group on the official website and joined it
How to joinwangEditorR&d team
In old club is still needs, that’s right is demand (forgot what demand, naughty face), and this requirement is to be on the rich text function, then don’t know how to begin, ask the bosses in the qq group, also is the demand caused by a series of behavior let I saw the recruiting team teammate’s announcement.
Just because of this announcement, aroused my heart buried for a long time for a long time for a long time to code a ambition (what do you want to be open source project, recognised by application of the apes), despite the interest, but as a rookie, but I dare not action (with a few days or a week did finally made up his mind to direct messages group manager – now my eldest brother).
“Interested in joining”, that was the beginning of an unforgettable journey with wangEdiotor. Next I received my entrance exam, write a simple rich text, function as long as bold, title, color (link attached, write very poor, don’t paint me blog.csdn.net/qq_39235055…) Those are the few features, and then the technology is not limited to the implementation of the line, a week.
In this way, I began to search Baidu, and I learned the key apis, Document.execcommand (core, API for implementing functions), window.getSelection(); (Content selection), range object (focus). So toss over for a week a small demo was born, and then with uneasy mood sent to the boss, unexpected is that I actually passed (then happy for several days, stepped on the dog shit, ha ha ha, fantasy rookie will finally change into, ha ha)
joinwangEditorHappy life in the future
When I first came in, I was familiar with the documentation, specifications, rules and regulations.
Source code is to let me stay several times (said never write so complex, so strong expansion of the code, I have been independent development is to go to the simple direction, it is so make their own a little difficult, also thank the boss patiently taught me many) familiar with the source code process what took several days to understand.
There is also a specification for submitting code to Git.
WangEditor (V4) was developed in typescript (and then learned typescript again, always in a bumpy way).
Started writing the function is a bit of a meng (initially is to write the function of the line height) don’t know how to start work (now doubt yourself), but still quite smoothly, after a week (I come home from work to stay up late at night to write) finally done, end is very beautiful, process is to burn the brain (the first), has the function to finish the happy for a long time for a long time, the confidence is back, ha, ha, ha, Reward yourself with a big drumstick).
Several months passed unconsciously, and several functions were successively completed. Of course, not all the processes were smooth (with the help of my friends and my boss), and some mistakes were made during the process (thanks for the boss’s patient instruction and didn’t blame me).
Currently working on bug fixes, new features, and of course future directions (confidential lol)
wangEditor v4The feelings after the release
At the moment I went online, I felt a little exciting, because I had never thought that the code I wrote would be used in open source projects, and in the face of such an excellent wangEditor (I was so excited), I made up my mind to write more code.
conclusion
In a word, I have learned a lot since I joined the company, more than in the past year (in the past year, I made wheels, and all the projects were written in the same way. I didn’t make much breakthrough and didn’t have a relatively formal process. Project to the acceptance and say this is not a git operation team operation process), write a function before the need to write requirements documents, technical documents, (never written before a work, deeply feel is very important, is advantageous to the carding logic), after you’ve written to the boss a wave of review, through at the start of the final after development, develop in a wave of PR after audit, From the beginning to the end, I have never experienced the process before, and I have gained a lot (thank you very much for your help).
The guys on the team are big shots, and I’m lucky to work with them. The old saying “there must be a teacher in the company of three” is still true. Everyone is a “teacher” and you can learn a lot just by listening to them talk (true)
I hope we go farther and farther. Come on, everybody.