javascript - For an editor like tinyMCE, it is definitely inappropriate for me to directly put its source code into the project for version control. Is there any automation solution?
伊谢尔伦
伊谢尔伦 2017-06-21 10:11:17
0
2
889

For an editor like tinyMCE, it is definitely inappropriate for me to directly put its source code into the project for version control. Is there any automation solution?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
为情所困

Thanks for the invitation.
First of all, version control is files and has little to do with the editor.

Commonly used version control tools are svn and git, and multi-version files are usually stored in svn servers or git servers. The above are divided into private and public servers. But the principle is the same:

  1. Editor edits files and saves them locally.

  2. Submit the file to the server. If overwritten, versions file1, file2, and file3 will be generated

For example, if you use github to store:

  1. New project on github

  2. Clone empty project to local, such as: C: ProjectA

  3. tinyMCE creates a new project and saves the project directory to C:ProjectA

  4. The github client can detect file changes, enter the version title, and the version description can be submitted to github after confirmation

  5. tinyMCE edits any file changes, the github client can detect the changes, and can submit them after confirmation

  6. You can view any version of a file on github.

扔个三星炸死你

tinyMCE can be managed through npm and bower, see the instructions for TinyMCE, so you can just put package.json or bower.json into version control. When using it, first use npm install or bower install to package the dependencies, and then call the files in node_modules or bower_components.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!