Home  >  Q&A  >  body text

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?

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?

伊谢尔伦伊谢尔伦2649 days ago825

reply all(2)I'll reply

  • 为情所困

    为情所困2017-06-21 10:13:17

    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.

    reply
    0
  • 扔个三星炸死你

    扔个三星炸死你2017-06-21 10:13:17

    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.

    reply
    0
  • Cancelreply