{"versions":{"0.0.1":{"name":"@npkg/tinymce-plugins","version":"0.0.1","description":"This is tinymce plugins","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Li Hailong"},"license":"MIT","_id":"@npkg/tinymce-plugins@0.0.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-jb8RQX6eI74D04YciOopUAaBFwPRVCm2KqSjA0z0vBsL7kYhMBBZCR5t7gTds0mS5fQSU9rLuyybtgn1Fa5JLw==","shasum":"0480121dc30ea677ab9bf655bb51d482b4da4136","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@npkg/tinymce-plugins/-/tinymce-plugins-0.0.1.tgz","fileCount":28,"unpackedSize":1170970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDaSYCRA9TVsSAnZWagAAkAYP/j0nxKGIxy/pBcjz1GR3\nnwtCwmmDLB6pm7tudiuB79mxTauIhxC4o16YoihO/s73bLWQgk2rqRNPDtyv\nIRF6gnOY7MXU/IJfmrdktf65cXcxWnBP8OG0RrDnjkSw4yaJuiwakMMIQ+96\niPB0GxyB3Cpi01L21+aSFb8zvZxPKYsjVTifVt/u96o4DO6NtvuLx6KxdHpo\nYcXNCumj2n2QlndicQhFqjpdWvMrCr2vbdTMS/ZmANFab7WkTfmeMbzo+aBh\nng4bFRqRE1W3NPris6Iw8s9RfiOBDcE1ZzqShJUpPhMtfvD4IkLfQgks117C\nR9RyM5guKK6pYDLbn6fVQHMGjhZYHyuj8U5YC9+nuNue0aU/HEXetPiV9D+9\nfaZ/kN3ckgoPU5Hrby7NZFwGjApFtkqcx+nYN+GcF4lNyia3iTiAh5rl6aJD\nBiCW8Jpth1m8rTBHgfE20QYwJTs8CHMgBl6mSo6lOkd+OOVRvnEbVwMW0Q2B\n+lRzR0JOBXRIQcCGsuDi6AJwrGf5mWna3JpOHMmYeKZkHut+Yed4jrt3i89M\nqOzQiFXnYX8OnP78ThcfXYVSGuaT81GwK19eNyXqy5y2/p1o2T3XqnkLQA2c\nq+peLrAfBmlMvSmspL4AY/uzjp6zQgePA7HsGpvB/Rxtihrrh0siWU35o1Qs\nFrR7\r\n=koIg\r\n-----END PGP SIGNATURE-----\r\n","size":349464},"_npmUser":{"name":"anonymous","email":"fivecc@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"fivecc@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinymce-plugins_0.0.1_1611506840166_0.21683048286254336"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-26T21:43:48.853Z","contributors":[]},"0.0.3":{"name":"@npkg/tinymce-plugins","version":"0.0.3","description":"该项目是对Tinymce 进行扩展和增强插件集合","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Five-great/npkg_tinymce-plugins.git"},"keywords":["tinymce-plugins","plugins","importword","layout","letterspacing","indent2em","table","upfile"],"author":{"name":"Li Hailong"},"license":"MIT","bugs":{"url":"https://github.com/Five-great/tinymce-plugins/issues"},"homepage":"https://github.com/Five-great/tinymce-plugins#readme","gitHead":"e7b327fdc00b19947688ded84d54555b4af0c7a8","_id":"@npkg/tinymce-plugins@0.0.3","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-1VEKvB+td73b94QfWA8h9NX3B97d35mpoxnYBOHQXu5hPYjh0BFJWLmInytmfZsuOsQz/kxlduUYeZCIzcKZ2Q==","shasum":"e55c06c3c4217d3f87921b4a4ff50fa6eb23239e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@npkg/tinymce-plugins/-/tinymce-plugins-0.0.3.tgz","fileCount":141,"unpackedSize":1532286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk65UCRA9TVsSAnZWagAAwYUP/jm/AGl2Ggf3KQSOqGZB\n6U7D/7RyGzU5KFY2Oe1+VqpjCkPL5TApHuAGNUbbRapfcdYk2KwgJu4ZxyWU\nlzKbqLFGk4kReKOOFEHE+GDnr4h+ioIkYd4TH95YFHyahTGYpJpsAuTeo+N2\nHT7Ny06Lc2+7g37UwG+VObxEigyUAItSf0LIzsPV2Ye1Y3Ly3LJBoZK9cVqa\nZt7Td1kUYMMMbEUVtRcwwccOkvDgSuaLAkI6qIGmkAbhGQqHHhxK+ogp/Ry/\nJ2RmSSOgWKmoCNAiweo8t3KJLzFYT3BgLckB0Rh9rNdNesTmP19nrkQve3hx\nMT4Zshw5msCqSoZlSydhdl9sg38n/JtQRsdc373Ysy4ivSw7ZalmTLF805bK\nt6v0reQEac3tPQisAC2OLIsjkzNWDJ63wkTCHdAG6CQOlGDFH5hxDH6r3Elt\numA7KP2z8eMrhvsqFh00MZSXZ6tCW0s34/a82LQKzonHjsyCk0zQGLHtzbHQ\nEPVGyft4iXwGdMUdPMvRR8MIaFP4A9NoR6OGQurTAlg2mk627yS6ulZpb+4/\nAWuYVlFm3qTvGxHxSldZvcjF1UYOMkG6plHkpBBojUYhXeT84RE+WHGFux/2\nJ91bzeKjDduUtLXY0tBt2kt8EVdcjyx6Jl/tiFtoDQ2Po7+re6nV5gwqUShN\nxB4/\r\n=dWYW\r\n-----END PGP SIGNATURE-----\r\n","size":424540},"_npmUser":{"name":"anonymous","email":"fivecc@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"fivecc@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinymce-plugins_0.0.3_1620291155757_0.46181434718997516"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-26T21:43:51.425Z","contributors":[]},"0.0.4":{"name":"@npkg/tinymce-plugins","version":"0.0.4","description":"该项目是对Tinymce 进行扩展和增强插件集合","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Five-great/npkg_tinymce-plugins.git"},"keywords":["tinymce-plugins","plugins","importword","layout","letterspacing","indent2em","table","upfile","bdmap","axupimgs","attachment"],"author":{"name":"Li Hailong"},"license":"MIT","bugs":{"url":"https://github.com/Five-great/tinymce-plugins/issues"},"homepage":"https://github.com/Five-great/tinymce-plugins#readme","gitHead":"2573538e120e28e35d49876d2e95dd51339e2996","_id":"@npkg/tinymce-plugins@0.0.4","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-Le/YEMYmUg4PWMdudYy+SQ8s+AyDZCNLXtWBhwG/l7oyWnVIy5J2pNH2Abgt/ek66hl96vc/CmInMh51JcEJWw==","shasum":"fd016f4fc521bc76faad65c90192f0d0c3a6afed","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@npkg/tinymce-plugins/-/tinymce-plugins-0.0.4.tgz","fileCount":140,"unpackedSize":1544413,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglTldCRA9TVsSAnZWagAAbX8P/2mwlik/GpYcTzP8VOVM\nxVjENqlFQNja4vZYas68pEwoEyPvbnz7bIOkHT5IqkvvHtywFs5l9MJJyM9r\nGncetclL0PWlCoePt0rojhz+H/i4slspbLs7JJ0rXR+u/ZH1qXHKzz37BOGe\nyWzYPKa2AFMP0iujUJjV4CxBH05XkhCjwRhDMCHYpym6sFCmi5Zg0I9ER0JV\n0DjkM+XNTBfIpCpltjC1uinxAT55Aykg4jPdNXX+naRTGXRZxAyeiq9sZxTi\nUPNJWtNo/drk3pPU0zkmL2mebg72yHkPKDHuJhckGS66GHfHsbF1/NfzPGlE\niVVGrn4giz4Lis3AmMqiAzkBdWHOi9j5FtyVxsulC3vu1sg+geRi7kvY3ZA+\nJl2sSupOE12vD+v1imN0lFPWAin75FZ4KiImRiBOmVrUwKWcXvlMfz7QNPws\nA/TA1ikzNojlIqJeRX2NqaS8kGJDivoi7H6gTkurgBLwwM57tnRHJ+TczZZC\njFah4btPnhD0J66LSgY6DYllQDdBVtCk8a51PlDRNXh/c0klLd3VeaRAw4zA\nEFEqyFYvZ2WB9x2DdqMJ1umCuYABWZ/jQd5b4FUzKPxCOJuxqA+5cvZZfGXM\nEymwJ/y1vZ12lbM2JFxrLWn3VaZ1Z5H4axR7DHbaTtihnYCvG1hOu37bcepk\nqSBG\r\n=BMJO\r\n-----END PGP SIGNATURE-----\r\n","size":441147},"_npmUser":{"name":"anonymous","email":"fivecc@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"fivecc@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinymce-plugins_0.0.4_1620392285161_0.6355698690293723"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-26T21:43:54.297Z","contributors":[]},"0.0.5":{"name":"@npkg/tinymce-plugins","version":"0.0.5","description":"该项目是对Tinymce 进行扩展和增强插件集合","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Five-great/npkg_tinymce-plugins.git"},"keywords":["tinymce-plugins","plugins","importword","layout","letterspacing","indent2em","table","upfile","bdmap","axupimgs","attachment"],"author":{"name":"Li Hailong"},"license":"MIT","bugs":{"url":"https://github.com/Five-great/tinymce-plugins/issues"},"homepage":"https://github.com/Five-great/tinymce-plugins#readme","gitHead":"95dbd1d7ab054a50c843a38dbd7e3fb36a1a683a","_id":"@npkg/tinymce-plugins@0.0.5","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-ueTh/HguLPa+QiD/ZrQZ0qXP2EAU3B5P8Kku4VOU/UFAV3q6kYnoa0MWV0j0G1yXd+LBC6+xgVUhxOWog5pEfQ==","shasum":"9a89807c337756a6819c190c5382a88e10936a2c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@npkg/tinymce-plugins/-/tinymce-plugins-0.0.5.tgz","fileCount":140,"unpackedSize":1545077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglUyZCRA9TVsSAnZWagAANlkP/18unYB46uXzb2P2tNpm\nyEdv3JGf6B/0Lr+rMByYinKo5LCEV4xGVQ19HrlL9Fqiz0RsKdTVlgG7qYv0\no6p1qz7MFYN1YkhFLU7XY9OXxoIGczpWSa79zBQ+f8rMQ6MSlDZZQynKGquH\nBu6eyKOfPtYsyMsM+wTljo+TAcpYAj0+aWUZVAx4/3hpxpjW6hQ9eO62VMOl\nFXbqKJ4m/4EbLkBHbRjv+E6HANW+4FkXrkxnTCpfK8D3pjE1+UUYzif99rcU\n+mtTP2TE6mMlN2Ml56lKBzsZt4b9b3GYrFpwNa3IyHtwMacl6bbmNNl0Eht8\nTeTWJ09DPhRYFpuTwGW1PdM2CTSCaRRtGyDjZjjZ2vUHz1WC87mrHkP6fDW2\n81NDNO4z04aAgdDNJmfP/uc7mCBYrDc+c0s1UQRc3amzIEJo6fAzuF5j5LyU\n/daNwihZoS228i31RWaLPTvbxrfdjMEHVQ/HzDk4LO9HuRm8U/aS8PqUqchT\nEjmC3vOdwMvMyjnSAvh8hizwoqhhV9JXEqLU5bxJLdYpzBBpZt6cgvQJLP+9\n2QAWB+uBSO6/x/ROYvLz1EuDQDSnlew0NbW9XzNw4KHjPq2ORRnUJj957mEm\nnVJHHWGRMdLv0tCpdjnUe7Q+35IwXW1oqhPglmGK6A1X9LNR1GarnWfWCIJP\n/lDV\r\n=UJ+X\r\n-----END PGP SIGNATURE-----\r\n","size":441109},"_npmUser":{"name":"anonymous","email":"fivecc@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"fivecc@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinymce-plugins_0.0.5_1620397208946_0.7280990848315554"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-26T21:43:59.982Z","contributors":[]},"0.0.6":{"name":"@npkg/tinymce-plugins","version":"0.0.6","description":"该项目是对Tinymce 进行扩展和增强插件集合","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Five-great/npkg_tinymce-plugins.git"},"keywords":["tinymce-plugins","plugins","importword","layout","letterspacing","indent2em","table","upfile","bdmap","axupimgs","attachment"],"author":{"name":"Li Hailong"},"license":"MIT","bugs":{"url":"https://github.com/Five-great/tinymce-plugins/issues"},"homepage":"https://github.com/Five-great/tinymce-plugins#readme","gitHead":"313cb21ab29211bcd8939972a4fcf65f592c623f","_id":"@npkg/tinymce-plugins@0.0.6","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-alJ8E7foTsoCfepsQaXizgHv37Zkfidmdb3aLx/tvRqgPZbJhZqySo7FlByvSkw1b4NcgxBTHN2vlIW9uNV8jA==","shasum":"b9de9f89f73eb252c683bde9f40390ac64d66831","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@npkg/tinymce-plugins/-/tinymce-plugins-0.0.6.tgz","fileCount":140,"unpackedSize":1965933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0q8BCRA9TVsSAnZWagAA7GYP/j78DCC71w5ZHeIgL/M6\ngERCCFo4IeZiKg117jpzW4ikcDjilikxaM0yTLjH7HWJuvkX7REZ+FkGZJZu\nhjKOO8Vt/aTauCNsQ4unbVeL8rOlAta7Q/4w5VIqsGYWR63EL4u7P7DiYD7p\nRdntkLVSl+/C1e0N27jobdQ7YUMekue7M7JTbE6qkuzRYDOgGyNUJFAK1FH6\nNr2OLNOD3C3PjEC5jXPXD5e+kH3sy8HguQtS8J96Cczz177nuefS2KUoL3H3\ntLqEW4mwYWeS0Fwm63CPNZB5Rxau4M9EJh4cRTTdaOHfEqneSatLiYRyawV4\neM19YlgY2oR7X7ODXiIK86rBh1pJAIP5dsVlCb5qzGSPYMXq980wNtYSQ8Ft\n1sAxEbOZXbyncoSBfsSfqiMhJFM9mKuIL40d3ZDQR7oFwze7Ixr7D4kC0eic\n9nU/q6LcqkPFhT+VrKIdwKdyIONgky7vIK5ea2lUyWVn9aE1uqct9ESp8SWe\n/4tyuFmJNCLD9rftevwmrdKCBuLk0WpqTLeCtuyqP5o2Icx8Av4cAUk1NxLw\n4daF5jUNu+w0kEixo/njHeiviRv6b6wU8Mjy+iXbkce84CPeLPiaxNnYB3AB\nPURLZfp9yMZVqPN63nHkoUDTk/SbBxxo8Vk8bzm/Iw8QhA9thGtSnf86Eumo\nWyE5\r\n=PMgK\r\n-----END PGP SIGNATURE-----\r\n","size":563688},"_npmUser":{"name":"anonymous","email":"fivecc@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"fivecc@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinymce-plugins_0.0.6_1624420097200_0.7832189678312982"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-26T21:44:02.682Z","contributors":[]},"0.0.7":{"name":"@npkg/tinymce-plugins","version":"0.0.7","description":"该项目是对Tinymce 进行扩展和增强插件集合","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Five-great/npkg_tinymce-plugins.git"},"keywords":["tinymce-plugins","plugins","importword","layout","letterspacing","indent2em","table","upfile","bdmap","axupimgs","attachment"],"dependencies":{"wx-wow":"latest"},"author":{"name":"Li Hailong"},"license":"MIT","bugs":{"url":"https://github.com/Five-great/tinymce-plugins/issues"},"homepage":"https://github.com/Five-great/tinymce-plugins#readme","gitHead":"805e35a3298633a30062f3e6a3ea4fa1e4d597c6","_id":"@npkg/tinymce-plugins@0.0.7","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-kvpDcpZ8EK9lE1x75QS8hGtpDw+La18uVF/oY2g3Dts5ksPSuyyVfyiYL4a5lzFmy2oXmasN5MhNZMepmataig==","shasum":"94c3edd805d70f04e13e224a8b8a5ce747130edc","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@npkg/tinymce-plugins/-/tinymce-plugins-0.0.7.tgz","fileCount":140,"unpackedSize":1965979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg772fCRA9TVsSAnZWagAA6I4P/RFlWJFFNqbRZFxM+Tdp\nNFpJdbrqFiLyBWgUTukVxL/QhEiKa7Rusix/FigB3w6+8Py9XEbXSDdtvItZ\netmDzGfh1/Swx7X12DARmyERXWwLnEUO8j+crEBmRtd5/KIVy/KCIAO+kip1\nmAWNibvF96NB4OdusnvKJq5kEpnvh2aU1QOHsk7MPaB1q90z5FOdTuIfY/Qv\n1Fmd+x40JVTyH6ICgcKg+HKepXkHOQTp4QhvqT/HPlnaj9ZS4v7mWCDH1lH+\nrYLRe+Msdf4rxUN8h9Z5lnVqUHUdIvAhUtlXIBCFdIZU/MvZKF0uZVvvAgTG\nArnaUy+2tZYzZd9bZhPxhjU3C+FMpQe+AP8Tr5NC4nY1yOrCbPuZGXZaPtq1\nPJbrlLNdQZvVBG/rpbHf8JQpcph/auKSRRiaP2Ay7AOe+GaocpriqBR0wyZg\nBgPd34TXr/GEtGH1rfhJrvO8J0ZZL+4dftBj23cLNeSoo1USK7jmBFUDMSYf\niDPSqmUuv2iTBtJgtmmQ9CBpbXRbeTlv3kSnAxoWDT4mwj1nkfhf1BxKTZu/\nUHsf7/pf7GZcAKGrrW+DWrYqTD/eiQKlqxtDZBQykpvhxJIRJ6QJ2CqYBE5w\n9SRnURICCUz9SktxjITNDOfDA4JWobFf0o3xTwTPJuYtZEEM9JZqPEz+r/TK\nmCe1\r\n=04jI\r\n-----END PGP SIGNATURE-----\r\n","size":563700},"_npmUser":{"name":"anonymous","email":"fivecc@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"fivecc@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinymce-plugins_0.0.7_1626324382585_0.26287118350826977"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-26T21:44:04.138Z","contributors":[]}},"dist-tags":{"latest":"0.0.7"},"name":"@npkg/tinymce-plugins","time":{"created":"2022-01-27T14:52:13.103Z","modified":"2023-08-03T13:59:10.851Z","0.0.1":"2021-01-24T16:47:20.367Z","0.0.3":"2021-05-06T08:52:35.949Z","0.0.4":"2021-05-07T12:58:05.352Z","0.0.5":"2021-05-07T14:20:09.147Z","0.0.6":"2021-06-23T03:48:17.369Z","0.0.7":"2021-07-15T04:46:22.772Z"},"readme":"# tinymce-plugins\nThis is tinymce plugins\n\n## 前言\n因为项目需要用到富文本编辑器众多富文本编辑器中，选择了 Tinymce，根据项目需要对Tinymce 进行扩展和增强插件，记录一下，并同时分享给需要帮助的人。\n\n\n[tinymce 官方文档]( https://www.tiny.cloud/docs/)\n\n[tinymce 中文文档]( http://tinymce.ax-z.cn/)\n\n[项目demo地址](http://fivecc.gitee.io/tinymce-plugins/demo/)\n\n[CSDN 博客](https://fivecc.blog.csdn.net/article/details/111810804)\n\n[个人博客](https://fivecc.cn)\n\nQQ邮箱: fivecc@qq.com\n\n\n## 简述\nThis is tinymce plugins\n该项目主要为 tinymce 富文本编译器的扩展插件，或增强优化插件\n目前整理完成插件列表如下：\n\n - [x]  imagetools [增强优化]： 图片编辑工具插件， 对图片进行处理。优化跨域，功能更丰富； \n - [x]  table [增强优化]：表格插件，处理表格。 增强优化表格控制，增加表格转图片功能，便捷布局按钮；\n - [x]  indent2em[增强优化]：首行缩进插件。提供中文段落排版的首行缩进2个字符的功能。增强优化 加入字间距非默认情况，也能实现准确首行缩进2字符；\n - [x]  letterspacing：设置间距插件。可以设置文档中的文字间距；\n - [x]  layout： 一键布局插件。可以给文档段落进行一键快速排版布局；\n - [x]  importword： 导入word插件。可以直接导入word ,并且保证word中图片不会丢失，自动转为base64;\n - [x]  upfile： 文件上传。可以点击导入文件，可自定义编辑文件名;\n - [x]  bdmap： 百度地图。 支持更改尺寸，自定义标签，开启导航功能,支持vue;\n - [x]  axupimgs: 多图上传。可同时上传多组图片，支持vue;\n - [x]  attachment: 附件上传。拥有附件类型对应图标，支持vue;\n \n## 下载\n\n```bash\n npm i @npkg/tinymce-plugins 或 cnpm i @npkg/tinymce-plugins -D\n```\n## 使用说明\n  未使用过 tinymce ，可以查看莫若卿大佬的 [tinymce  中文文档 ](http://tinymce.ax-z.cn/)\n\n   ####  imagetools 使用方法：\n  增强效果：\n  ![在这里插入图片描述](https://s3.ax1x.com/2020/12/28/ro4Lng.png)\n\n  \n ```javascript\n   tinymce.init({\n     selector: '#tinydemo',\n     plugins: \"image imagetools\",\n     toolbar: \"image\",\n    });\n   ```\n   [点击下载](https://github.com/Five-great/tinymce-plugins/releases/download/0.0.5/imagetools.rar) [更多下载](https://github.com/Five-great/tinymce-plugins/releases/tag/0.0.5)\n   更多配置 见 [插件 / imagetools](http://tinymce.ax-z.cn/plugins/imagetools.php)\n\n####  table 使用方法：\n增强效果：\n![在这里插入图片描述](https://s3.ax1x.com/2020/12/28/ro4Rne.png)\n\n 提供一个配置项目 table_icons 自定义图标配置【Object】可配置icon 对象为\n \n 1. align-left-table： 表格居左\n 2. align-center-table： 表格居中\n 3. align-right-table： 表格居右\n 4. table-to-img： 表格转图片\n\n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"table\",\n    toolbar: \"table\"\n    table_icons: {// 以下下为默认配置\n        'align-right-table': '<svg width=\"24\" height=\"24\"><path d=\"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z\" fill-rule=\"evenodd\"></path></svg>',\n        'align-left-table': '<svg width=\"24\" height=\"24\"><path d=\"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z\" fill-rule=\"evenodd\"></path></svg>',\n        'align-center-table': '<svg width=\"24\" height=\"24\"><path d=\"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2z\" fill-rule=\"evenodd\"></path></svg>'\n    }\n});\n```\n [点击下载](https://github.com/Five-great/tinymce-plugins/releases/download/0.0.5/table.rar) [更多下载](https://github.com/Five-great/tinymce-plugins/releases/tag/0.0.5)\n   更多配置 见 [插件 / table](http://tinymce.ax-z.cn/plugins/table.php)\n   \n####  indent2em 使用方法：\n\n 当使用 本项目 letterspacing 插件，如需使用首行缩进 请替换原有indent2em，使用该项目indent2em插件。\n\n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"indent2em\",\n    toolbar: \"indent2em\"\n});\n```\n [点击下载](https://github.com/Five-great/tinymce-plugins/releases/download/0.0.5/indent2em.rar) [更多下载](https://github.com/Five-great/tinymce-plugins/releases/tag/0.0.5)\n   更多配置 见 [插件 / indent2em](http://tinymce.ax-z.cn/more-plugins/indent2em.php)\n\n\n####  letterspacing 使用方法：\n\n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"letterspacing\",\n    toolbar: \"letterspacing\"\n});\n```\n[点击下载](https://github.com/Five-great/tinymce-plugins/releases/download/0.0.5/letterspacing.rar) [更多下载](https://github.com/Five-great/tinymce-plugins/releases/tag/0.0.5)\n   \n   更多配置(选配) :\n \n 提供字段 letterspacing 配置参数【String类型】，空格隔开；\n \n ```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"letterspacing\",\n    toolbar: \"letterspacing\",\n    letterspacing: \"0px 2px 4px 6px 24px\"\n});\n```\n\n\n####  layout 使用方法：\n\n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"layout\",\n    toolbar: \"layout\"\n});\n```\n[点击下载](https://github.com/Five-great/tinymce-plugins/releases/download/0.0.5/layout.rar) [更多下载](https://github.com/Five-great/tinymce-plugins/releases/tag/0.0.5)\n\n   更多配置 (选配):\n         \n   提供 一键布局 默认参数字段  layout_options  配置参数【Object类型】目前一共4个属性：\n   1. style : 一键布局默认样式参数【Object】\n   2. filterTags： 【Array】过滤标签，该数组中的标签，一键布局中将会被忽略（默认忽略 'table','tbody','td','tr'）\n   3. tagsStyle： 单独标签样式处理【Object】\n   4. clearStyle: 【Array】清除样式 ，一键布局后 ，数组中的样式将会清除掉。\n\n   配置优先级从低到高： style < filterTags < tagsStyle < clearStyle \n   \n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"layout\",\n    toolbar: \"layout\",\n    layout_options: {\n                style: {\n                   'text-align':'justify',\n                   'text-indent':'2em',\n                   'line-height': 1.5\n                },\n                filterTags：['table>*','tbody'], //'table，'tbody','td','tr' 将会忽略掉 同时 table>*，忽略table 标签 以及所有子标签\n                clearStyle: ['text-indent'],//text-indent 将会被清除掉\n                tagsStyle: {\n                   'table': {\n                       'line-height': 3,\n                       'text-align': 'center'\n                   },\n                  'table,tbody,tr,td': { //支持并集选择\n                    'line-height': 2\n                   },\n                   'tr>td,table>tbody': { //支持, 精准定位 通过 ' > '\n                    'line-height': 3,\n                    'text-align': 'center'\n                   }\n               }\n    }\n});\n```\n\n####  importword 使用方法：\n\n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"importword\",\n    toolbar: \"importword\"\n});\n```\n[点击下载](https://github.com/Five-great/tinymce-plugins/releases/download/0.0.5/importword.rar) [更多下载](https://github.com/Five-great/tinymce-plugins/releases/tag/0.0.5)\n\n   更多配置(选配) :\n         \n   提供 导入word 插件 \n   预处理函数 importword_handler 配置参数【Function类型】传入3个参数  \n   1. editor : editor 编辑器实列【object】\n   2. files : 导入的文件 【object】\n   3. next : 下一步骤回调函数 传入files标签字符串【Function】\n   \n   过滤函数 importword_filter  配置参数【Function类型】传入3个参数\n   \n   1. result : 导入word 生成的 html标签字符串【String】\n   2. insert : 插入回调函数 传入 html标签字符串【String】\n   3. message: 转换过程中产生的错误信息集【Array】\n     \n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"importword\",\n    toolbar: \"importword\",\n    importword_handler: function(editor,files,next){\n                var file_name = files[0].name\n                if(file_name.substr(file_name.lastIndexOf(\".\")+1)=='docx'){\n                    editor.notificationManager.open({\n                        text: '正在转换中...',\n                        type: 'info',\n                        closeButton: false,\n                    });\n                     next(files);\n                }else{\n                    editor.notificationManager.open({\n                        text: '目前仅支持docx文件格式，若为doc111，请将扩展名改为docx',\n                        type: 'warning',\n                    });\n                }\n                // next(files);\n    }\n    importword_filter: function(result,insert,message){ \n       // 自定义操作部分\n      insert(result) //回插函数\n    }\n});\n```\n\n####  upfile 使用方法：\n\n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"upfile\",\n    toolbar: \"upfile\"\n});\n```\n\n[点击下载](https://github.com/Five-great/tinymce-plugins/releases/download/0.0.5/upfile.rar) [更多下载](https://github.com/Five-great/tinymce-plugins/releases/tag/0.0.5)\n\n   更多配置(选配) :\n         \n   提供 upfile 插件  过滤函数 file_callback 配置参数【Function类型】传入2个参数\n   \n   1. file : 文件对象【file】\n   2. succFun : 成功回调函数 传入 html标签字符串【Function类型】(url|string,obj)\n     \n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"upfile\",\n    toolbar: \"upfile\",\n    file_callback: function (file, succFun) {\n       // 自定义处理文件操作部分\n      succFun(url,{text: 'xx.pdf'}) //成功回调函数 text 显示的文本\n    }\n});\n```\n####  bdmap 使用方法：\n\n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"bdmap\",\n    toolbar: \"bdmap\"\n});\n```\n\n[点击下载](https://github.com/Five-great/tinymce-plugins/releases/download/0.0.5/bdmap.rar) [更多下载](https://github.com/Five-great/tinymce-plugins/releases/tag/0.0.5)\n\n   更多配置(选配) :\n         \n   提供 `bdmap` 插件 `bdmap_options` 配置参数【object】 传入 4 个参数\n   1. width: 百度地图默认宽度 默认 560\n   2. height: 百度地图默认高度 默认 360\n   3. outputIframe: 百度地图输出iframe路径， 默认 '.' （当前路径） `Vue` 默认 'https://unpkg.com/@npkg/tinymce-plugins/plugins/bdmap/bd.html'\n   4. apiKey:  自定义百度地图apiKey `Vue` 中有效\n\n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"bdmap\",\n    toolbar: \"bdmap\",\n    bdmap_options: {\n        width: 560,\n        height: 360,\n        outputIframe: 'https://unpkg.com/@npkg/tinymce-plugins',\n        apiKey: 'ONXXXXXXXXXXXXXXnP'\n    }\n});\n```\n\n####  axupimgs（Vue）使用方法：\n\n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"axupimgs\",\n    toolbar: \"axupimgs\"\n});\n```\n\n[点击下载](https://github.com/Five-great/tinymce-plugins/releases/download/0.0.5/axupimgs.rar) [更多下载](https://github.com/Five-great/tinymce-plugins/releases/tag/0.0.5)\n\n更多配置 见 [插件 / axupimgs](http://tinymce.ax-z.cn/more-plugins/axupimgs.php)\n\n#### attachment 使用方法：\n\n```javascript\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"attachment\",\n    toolbar: \"attachment\"\n});\n```\n\n[点击下载](https://github.com/Five-great/tinymce-plugins/releases/download/0.0.5/attachment.rar) [更多下载](https://github.com/Five-great/tinymce-plugins/releases/tag/0.0.5)\n\n   更多配置(选配) :\n         \n   提供 `attachment` 插件  提供 `attachment_max_size`，`attachment_style`,`attachment_icons_path`,`attachment_upload_handler` 配置参数\n   attachment_max_size: 附件大小限制  默认 209715200 （200M）【number】 \n   attachment_style: 附件的样式，主要为保存数据后可以直接在其他页面展示。 【string】 \n   attachment_icons_path： 附件的 图标的路径 icons ， 默认 当前路径  `Vue` 默认 'https://unpkg.com/@npkg/tinymce-plugins/plugins/attachment/icons'\n   attachment_upload_handler： 附件上传处理函数 【function】 function(file, succFun, failFun, progressCallback)\n   \n   1. file : 文件对象【file】\n   2. succFun : 成功回调函数 传入 (url|string)\n   3. failFun : 失败回调函数 传入 (string)\n   4. progressCallback: 进程回调函数 传入 (string)\n\n\n```javascript\n\nvar xhrOnProgress = function (fun) {\n    xhrOnProgress.onprogress = fun;\n    return function () {\n        var xhr = $.ajaxSettings.xhr();\n        if (typeof xhrOnProgress.onprogress !== 'function')\n            return xhr;\n        if (xhrOnProgress.onprogress && xhr.upload) {\n            xhr.upload.onprogress = xhrOnProgress.onprogress;\n        }\n        return xhr;\n    }\n  }\n\ntinymce.init({\n    selector: '#tinydemo',\n    plugins: \"attachment\",\n    toolbar: \"attachment\",\n    attachment_max_size: 209715200,\n    attachment_style:'.attachment>img{display:inline-block!important;max-width:30px!important;}'\n    attachment_icons_path: 'https://unpkg.com/@npkg/tinymce-plugins/plugins/attachment/icons',\n    attachment_upload_handler: function (file, succFun, failFun, progressCallback) {\n            var data = new FormData();\n            data.append(\"file\", file);\n            $.ajax({\n                data: data,\n                type: 'GET',\n                url: './api/file.json',\n                cache: false,\n                contentType: false,\n                processData: false,\n                header:{'Content-Type':'multipart/form-data'},\n                dataType: 'json',\n                xhr: xhrOnProgress(function (e) {\n                    const percent = (e.loaded / e.total * 100 | 0) + '%';//计算百分比\n                    progressCallback(percent);\n                }),\n            }).then(function (data) {\n                if ( data.code== 200) {\n                    succFun(data.data);\n                } else {\n                    failFun('上传失败:' + data.data);\n                }\n            }).fail(function (error) {\n                failFun('上传失败:' + error.message)\n            });\n        },\n\n        \n});\n```\n\n# 在vue当中使用\n\n只需将插件下载后引用到安装目录中\n\n```javscript\n\n|-- node_modules\n| ...\n|   |-- tinymce\n|   | .\n|   |-- |-- plugins\n|   |   |   |-- letterspacing\n|   |   |   |-- layout\n|   |   |   |-- indent2em\n|   |   |   |-- importword\n|   |   |   |-- imagetools\n|   |   |   |-- table\n|   |   |   |-- bdmap\n|   |   |   |-- axupimgs\n|   |   |   |-- attachment\n| ...\n\n```\n#### 引入\n\n可以全部引入\n```javascript\n import '@npkg/tinymce-plugins'\n```\n也可以按需引入\n```javascript\nimport '@npkg/tinymce-plugins/importword' \nimport '@npkg/tinymce-plugins/lineheight' \nimport '@npkg/tinymce-plugins/layout' \nimport '@npkg/tinymce-plugins/letterspacing' \nimport '@npkg/tinymce-plugins/indent2em' \nimport '@npkg/tinymce-plugins/upfile' \nimport '@npkg/tinymce-plugins/imagetools'\nimport '@npkg/tinymce-plugins/attachment'\nimport '@npkg/tinymce-plugins/axupimgs'\n\n```\n#### 欢迎提出建议，动手点赞 ，或提pr","users":{}}