{"_id":"wyg","_rev":"36-673021876496592b57f07b1c7b39bbe2","name":"wyg","description":"A new WYSIWYG editing experience for the modern web.","dist-tags":{"latest":"0.0.30"},"versions":{"0.0.0":{"name":"wyg","version":"0.0.0","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"8071441aa7e8d9a4fe1b2743975f01399dea145c","_id":"wyg@0.0.0","scripts":{},"_shasum":"18c14c3bae4da37765f566cbc6b79db15f937cb1","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.10.32","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"18c14c3bae4da37765f566cbc6b79db15f937cb1","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.0.tgz","integrity":"sha512-2p7akqH/+n6uu5l6ftwMe9hEytZM7GgKo/qRnmlczjIsEnU3CBd/Mplcd8qMOuKlzcis8Eq8flNnaDzdUeC71Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5G5kGrq3k6QS5MhzIqcgTAvS2IEK2mOpUFjUQIi3DLAiBCd6StRu039KLBiqZZ+yjeoGaEt5ANAxhd/K9SHFGIsw=="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/wyg-0.0.0.tgz_1459108917493_0.7446901814546436"},"directories":{}},"0.0.1":{"name":"wyg","version":"0.0.1","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"dcc26400a9c544a496c45dd6240b25d5bc1867ad","_id":"wyg@0.0.1","scripts":{},"_shasum":"8b94adbdb1b6b79b2f4fee75cb4409ad384ffa41","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.10.32","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"8b94adbdb1b6b79b2f4fee75cb4409ad384ffa41","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.1.tgz","integrity":"sha512-2zmj7gk26rnZi6gyexuNvZaiIcV0b/0QR9yaZrzIe1sLrXZqh3Q7oWHP7IFiXQTfW5dhKBU25bzBpJeUlnVvrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3fzBGLZy5kjKmuMK2NEVvQWnv5qb0rc3GYVrCjTtfagIhAIRR4IQsKONj/5PGEBJCtUyhNDyiOr7Rj7MASjBdB4jS"}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/wyg-0.0.1.tgz_1459108959991_0.006940119434148073"},"directories":{}},"0.0.3":{"name":"wyg","version":"0.0.3","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"2fba0897a3ce82587c8522ee9c9b1fbb50201080","_id":"wyg@0.0.3","scripts":{},"_shasum":"7aa14aa0b40c9938e480dcc7de6a296d34e853f3","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.10.32","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"7aa14aa0b40c9938e480dcc7de6a296d34e853f3","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.3.tgz","integrity":"sha512-C1dD767XLfPDy/Xowy7UyO1M1nGAGpnlgfu1lDuBSl55pHp+yAHYQim3ABQVDVMJFnopSpWPw/qMl4zOpDI+MA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnBFUfV3rifEVf3xvw/SnXPSUgaD9Q7zpJGXThJ8T9ggIgfutZ1FDVJZC+SDgs4dBH0YdRzS2yX/GluYqbWue4Wr8="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.3.tgz_1459117371856_0.9596621040254831"},"directories":{}},"0.0.4":{"name":"wyg","version":"0.0.4","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"cc6bc8d30f5893738a9eab4ba36fba663d40fe25","_id":"wyg@0.0.4","scripts":{},"_shasum":"a32592f653ebdc54663abd869cbf696df066c3bf","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"a32592f653ebdc54663abd869cbf696df066c3bf","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.4.tgz","integrity":"sha512-iaMtmDw/zg0cGY9i77GZsddfcgomPBGhGBtqJb28YGIqeIciDCMoZ0mby9zIyFF0hUXWpdXv8bTAw/GZcd05wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmy7znq2pKbAYdSmeOICWNbd9GHTjG3YUjlUSdYSeBBAIgQdZPCKfPSFdHYVT0Gks9smkZEfAe4iYL9m+PgoH+adw="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/wyg-0.0.4.tgz_1461695153457_0.5689828826580197"},"directories":{}},"0.0.5":{"name":"wyg","version":"0.0.5","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"e372e62155c26101246b5ca3a6ea229f9794ef44","_id":"wyg@0.0.5","scripts":{},"_shasum":"b83bed9bde23fda0062fafae3fe98b8bac481699","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"b83bed9bde23fda0062fafae3fe98b8bac481699","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.5.tgz","integrity":"sha512-oWOKAEq61AClRx1yBMza0+hvae+a6Tt0KyaFDE58iDtz3ru/9xtGusQ/hpjbJ13ahOUoZNiJqsEJzxNKKX+EZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEouDmL+tS9GrjPkC7u86dpldP1mhIbDEutdE1hhYZDnAiAhHSHez/Irpo/1yXnzUe9kbXX2bSRla6kT7D/eF8RjsA=="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.5.tgz_1463082119180_0.5797509090043604"},"directories":{}},"0.0.6":{"name":"wyg","version":"0.0.6","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"21f3b449aeb01e127c4bab665a5169f13543e03e","_id":"wyg@0.0.6","scripts":{},"_shasum":"4d4c390fd1f1a889179d03d38a5d0da0956b6d04","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"4d4c390fd1f1a889179d03d38a5d0da0956b6d04","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.6.tgz","integrity":"sha512-immGnDT1hE37lMepiQFG/JGZ2ohA0c/m1E7ijkIu265A29hzh4+nv+ej5ZCRJWyerF9s4lr4iQcrMyvTxLR2CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBilqcQvqp/UseGIzOvwoHyIoqXDBnaJO741vLPha6+AIhALomYuk5TnMJzC3zgZKanmHblN5DDNdzWPINN/QJzYaD"}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/wyg-0.0.6.tgz_1464100331332_0.24447078490629792"},"directories":{}},"0.0.7":{"name":"wyg","version":"0.0.7","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"_id":"wyg@0.0.7","scripts":{},"_shasum":"a89f9780f3229c79cee991fc1f4ca063e9af598b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"a89f9780f3229c79cee991fc1f4ca063e9af598b","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.7.tgz","integrity":"sha512-Lbiv2lHGE+wSUz0qk8kOiy4Xc2S39Di2Fo17wp2hCijGpFAVDRONrEwWnvdBTAvd7B7TV1w5ZE4+5Otp6o8/5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFKlCZ9n9B2pqjBiowyHDjpg8DLLzQ7MIrF9+Kmnzwt0AiEAh6Xqf/exusHdxt/0svsWPyUELkI62qAD1wjno2vznjw="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.7.tgz_1464265258508_0.23833627393469214"},"directories":{}},"0.0.8":{"name":"wyg","version":"0.0.8","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"bc99c704cb3b91475d78a4dce5338031516dcaa6","_id":"wyg@0.0.8","scripts":{},"_shasum":"9ce6adf75003b0b70d177d8ddf4fc3e10d5c76f2","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"9ce6adf75003b0b70d177d8ddf4fc3e10d5c76f2","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.8.tgz","integrity":"sha512-DNy1Z3cQE9m1V22Bgd67maU2JkCmUSTNBYMRejCn1rmPf7Qw5zRMg4N7Uev5kF03uimjaHdIwM6RNfqU+748Fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICGr6Oa6biuKaK4UH4BsenQmGizQTeshR5SOsFcXIQfwAiA5Y1aAtJQtHg37tCOL6ItKrgotwAtfAnKOgyjw9KRiDA=="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.8.tgz_1465744720254_0.12274686503224075"},"directories":{}},"0.0.9":{"name":"wyg","version":"0.0.9","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"154651030f067000696be8b67967178c13c36bb5","_id":"wyg@0.0.9","scripts":{},"_shasum":"bc42f2ef5270cea343fed01e99393c376fcb6e4b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"bc42f2ef5270cea343fed01e99393c376fcb6e4b","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.9.tgz","integrity":"sha512-to1qY2JB1WFQoeXph62k4aXyxzZ5KWG2YNErs655eW9fJrlCpXcwFQhfFMAb0WdWRNRTU29j9v+Q3UKTg++u7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmoectVn7Gz6jQEvqO8a7m0AQKWnX4uoYu2AclmasCgAiEAu2SyH7N7XC3oYcI6jgFHIS9CNciVpiskWXIKRlRQcNE="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.9.tgz_1465745815816_0.025926848873496056"},"directories":{}},"0.0.10":{"name":"wyg","version":"0.0.10","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"_id":"wyg@0.0.10","scripts":{},"_shasum":"2725d17d972607bcd28a0503ea582188274c825f","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"2725d17d972607bcd28a0503ea582188274c825f","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.10.tgz","integrity":"sha512-aMTNXBPuq8xeFQC9NE8wCMx3ezqK4hrXCdjG7HpNa2RyloC1NaALcVbIBGS6e00F6oqiKSnRJBVWIgV2MLU21w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCodEyZC2RLb4f4P0RxR2bLGsF6wo37tPndWFs/B0fnYAIhANcTLmJv9kPo0lo4gQeSPtTJeQtgCFOY6+p2H0UvmVD3"}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.10.tgz_1466716294225_0.6411440097726882"},"directories":{}},"0.0.11":{"name":"wyg","version":"0.0.11","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"_id":"wyg@0.0.11","scripts":{},"_shasum":"352a5f7ccbf124469f58ad7afcdf876d1bcc2bbf","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"352a5f7ccbf124469f58ad7afcdf876d1bcc2bbf","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.11.tgz","integrity":"sha512-mVTXUN2pbMDZLdNhYuhBLcg5zHNnn/Nxso2JTj5FWHYLXZWcPbZZzga1uQADGHHvJZcJxX/ASVTRg0hROYuzJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkZVgZYWtSZqC+PXK2zzmH1+NZKnMZv5+v0MjBe67K4AiEAz8BS/rjkn6SyJ38emllL43IiZKUmglT8+NP4VTu4EDc="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.11.tgz_1466720290125_0.5703845976386219"},"directories":{}},"0.0.12":{"name":"wyg","version":"0.0.12","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"8971747b9ec96acbc709858ba01278c199147a91","_id":"wyg@0.0.12","scripts":{},"_shasum":"5ec2b91ac7d9beeba9c2c3546205296788c9744c","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"5ec2b91ac7d9beeba9c2c3546205296788c9744c","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.12.tgz","integrity":"sha512-Vx8grYCEDGgC2PH2Sr6C8kVIovEVU+g72oQh901ZGyuO6JwDJYN0whn/D31SXxRlpjGWYcKuwtWVi8STiIaC2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIyIDAc3W22oQ8WVFXOqfrsyX2fOHBnnLzzcm4go0DfAIgdmNqO8MvC/2/wkjgvtw2Sn50lLrKkwLLUio9Db7mLYE="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.12.tgz_1467218892818_0.8095484664663672"},"directories":{}},"0.0.13":{"name":"wyg","version":"0.0.13","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"580f0006f1b8a54518476b31a87ba2d7cf883294","_id":"wyg@0.0.13","scripts":{},"_shasum":"7ec6dcea67009f4a84496d1c7e78d94ef75589fe","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"7ec6dcea67009f4a84496d1c7e78d94ef75589fe","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.13.tgz","integrity":"sha512-iylYYeT7zzTKLq73B01UilspvhJ5dKIdCooiT69/AyC5D2tE/hSokGcdnJjHl0guXadDRONicHQdq5bwta4XKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqaxerF4gvRX0CiyzOSFc/ujw2ocjczZxfYCYTFc3uUAiApli9L8hjiwNZULlqozkEXSt1ZB/ya/Dwd7L3iJUj/zQ=="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/wyg-0.0.13.tgz_1468425512141_0.6503902017138898"},"directories":{}},"0.0.14":{"name":"wyg","version":"0.0.14","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.101","underscore":">= 1.8.3","jquery":">= 2.2.2"},"_id":"wyg@0.0.14","scripts":{},"_shasum":"8e13d47d1dd498d0211f1ccffab9fed5783332df","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"8e13d47d1dd498d0211f1ccffab9fed5783332df","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.14.tgz","integrity":"sha512-fsVU/n8TA9+AiLm9MeYeLcqaYIW51R4z3lEMDgB9KL5cHX2jlqKqRfM7PcYobcwWMHRZLH08LQnxrmc4mkxO4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgrkEPjHilAdb9uDG5DTsluOzFKDOO7XUrZ+j5VC/q/QIhANQrGDOrMf2pNRl/BF8LjHty3s8wH+8yK/LwUzWi1p2E"}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.14.tgz_1469117111010_0.2566847342532128"},"directories":{}},"0.0.15":{"name":"wyg","version":"0.0.15","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">= 0.0.195","underscore":">= 1.8.3","jquery":">= 2.2.2"},"gitHead":"e4e24e20187e73b6fc711c3bf7e3b7583e4ed83b","_id":"wyg@0.0.15","scripts":{},"_shasum":"7b18a5ef06d1b3b832a6626e3b618a7b77b6b74e","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"7b18a5ef06d1b3b832a6626e3b618a7b77b6b74e","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.15.tgz","integrity":"sha512-in9xc2OzFRdZKJk9ywq6LBdikxypGZ7lzYEXKMh7oU9kvULRFv5aSy+utHGgb/Et60fPQjblqPh+7o1+IaAmGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX4PM/OOgTQ2hnHosljY7yi6BUwCnGSx5Ms+5aVbLddgIgOM5lHzTADJfPNE1e4deIVdJR6ykOxDTr29RBE0595z8="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.15.tgz_1469117976785_0.7920892792753875"},"directories":{}},"0.0.16":{"name":"wyg","version":"0.0.16","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"^0.0.213"},"gitHead":"8200418a894365a661479caabfb8a6ad324ea395","_id":"wyg@0.0.16","scripts":{},"_shasum":"3553d3639f7af09cc7c7d1e61064be4f0f99336b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.9.1","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"3553d3639f7af09cc7c7d1e61064be4f0f99336b","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.16.tgz","integrity":"sha512-mFGx10t+YzjQjCT4R+lI8SZ8rSeUL87Utz6SBDGRi6/5MxgibwAu/00nIm2ctY/x4BjvjV0NIrbIJWXQSXOzBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6xE3nk3xpvvoPIgxjtkNf17nXB0wkEm0J9ezrSjUDBgIhAIW9RtHn0xu6RWnWTsTvXbdEnvkNIU6+myFq1gZkpkFN"}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/wyg-0.0.16.tgz_1470197182461_0.3882456957362592"},"directories":{}},"0.0.17":{"name":"wyg","version":"0.0.17","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":">=0.0.218"},"gitHead":"2ed99bd91d835833c231295abced4e9e43992805","_id":"wyg@0.0.17","scripts":{},"_shasum":"87997fae0fcaec6fa35602563d9aa5a7cb5b7212","_from":".","_npmVersion":"3.3.12","_nodeVersion":"6.0.0-nightly2016011666b9c0d8bd","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"87997fae0fcaec6fa35602563d9aa5a7cb5b7212","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.17.tgz","integrity":"sha512-fCcpg3N0TAHn0NkttzI6/Y5VI+yW0YvZ5G7hFT/PefCa396al2MOxwIbyNC5rEjzi5Vko5/+kL4oEBAEEuGKfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDq94ywxLwUzCpUYlR6mzTtezuD8ZgxrKg4sQXDs2mUwAIhALB6u3u/K8mzaLOG45ef4jQwqJsbTtLOvYzuI1jE80L3"}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/wyg-0.0.17.tgz_1470451392365_0.5270304351579398"},"directories":{}},"0.0.18":{"name":"wyg","version":"0.0.18","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"0.0.233"},"gitHead":"db972be6c2295dc5bfe619d4caa2a7fdb4977a85","_id":"wyg@0.0.18","scripts":{},"_shasum":"c259ba6b6bd54e7f84a40f06478242768f2592c1","_from":".","_npmVersion":"3.3.12","_nodeVersion":"6.0.0-nightly2016011666b9c0d8bd","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"c259ba6b6bd54e7f84a40f06478242768f2592c1","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.18.tgz","integrity":"sha512-PHYDnwdN5+WzmrngOtiEALJAVgO8svvs9RXgNa2oxd1km1R6m8ABNdsORzCfc1Cx4tsLZVaWunSqNVR5owaUug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGZ5CuIQ+X7HvekE/I3OnZBsAr2t66RnuyVFeX8RzKrAiB//2goPXgTLcLaiMK5qeQ7lInSSaS7I8sihEo9+RENGQ=="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.18.tgz_1471224441971_0.18340583983808756"},"directories":{}},"0.0.19":{"name":"wyg","version":"0.0.19","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"*"},"gitHead":"67b6032a7ee4811067722856e336d58a38e0681d","_id":"wyg@0.0.19","scripts":{},"_shasum":"36053d81654f476e7533fb75be5a8b486ef7a9cd","_from":".","_npmVersion":"3.3.12","_nodeVersion":"6.0.0-nightly2016011666b9c0d8bd","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"36053d81654f476e7533fb75be5a8b486ef7a9cd","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.19.tgz","integrity":"sha512-TJAsgupZ+LGh6L5Q98AqOhQsQvHwO0voOSHO5HHKcR1eayWWfr7Wgmzqr9GWymqi28zmr6unh3CElY0PBtN2rQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNDgHzcrXP4na0YtGCGJd0n5UntrK5JFjq9jP2TRix+wIgCSnjc1zfy6yngo80i7QFCv/ibto4R2N7hJ/xHg+hJKQ="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.19.tgz_1472402535076_0.8666354897432029"},"directories":{}},"0.0.20":{"name":"wyg","version":"0.0.20","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"*"},"gitHead":"aa190e563da516dd000b3249a70f5b71ccb85b2b","_id":"wyg@0.0.20","scripts":{},"_shasum":"053ee957a09336fa79390ead4c450d6a916bbe97","_from":".","_npmVersion":"4.0.5","_nodeVersion":"8.0.0-nightly201701078a12368a20","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"053ee957a09336fa79390ead4c450d6a916bbe97","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.20.tgz","integrity":"sha512-U93YDO39FP0QYIKrL1kSnQDAvj93U8O/VigE6c6thpznAXPn0H50zuI6nlvIHDihm1hknF250HeJtBlPoCNYjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6KIZjRjIME7vcJLo6EVdiTs14lF31AEfgoPejWIIckwIhAOQrT80KRWT2mhVQGVd2fb7Pia/1q8aXwfuuwwl9CWCP"}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/wyg-0.0.20.tgz_1483972590463_0.36283903080038726"},"directories":{}},"0.0.21":{"name":"wyg","version":"0.0.21","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"*"},"gitHead":"56de5ba34c10bcb02ee09a43f35dc2dcd7f35876","_id":"wyg@0.0.21","scripts":{},"_shasum":"664e7de9530d2ee236ce7717b82562929b94f7c3","_from":".","_npmVersion":"4.1.2","_nodeVersion":"8.0.0-nightly20170210b471392f8c","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"664e7de9530d2ee236ce7717b82562929b94f7c3","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.21.tgz","integrity":"sha512-TSnGZ8PH4vbhsgE2Ovm7KuFMPizGYMCqxTRFll0qPeATHTyiietQMfB75kwgyJ4OX4wXP1tnrQRRoznHP70Nlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEIh7ie+G6rzU5JCjZB5TUbcl5Z4A12iL6BjgVLaevARAiBdPgRVx0SBYsPZ5ECFFdYXZotPLsND9vHD9+36lF2mxw=="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.21.tgz_1486925064425_0.18350557959638536"},"directories":{}},"0.0.22":{"name":"wyg","version":"0.0.22","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"scripts":{"start":"node demo"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"*"},"gitHead":"dbf320bc333007e4d05095b32480c00eaa5efb74","_id":"wyg@0.0.22","_shasum":"c97a67552d47b589c77d463a3999486f8186a73c","_from":".","_npmVersion":"4.1.2","_nodeVersion":"8.0.0-nightly20170210b471392f8c","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"c97a67552d47b589c77d463a3999486f8186a73c","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.22.tgz","integrity":"sha512-dIoyp7q84lBNGvf7dXySC9lRJorEYYXVo1ka4TVDqbDUxjKkJnLi6aFQRKzfKBbW+WKe67ylvvZ5eCiyon2jBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAhzsbtXhd/f5sjJzfeEUWm8osB8nuWs6l0oCLVo02PZAiAjPdmbJlXk14JWkbBLL6U7HvSmvGc6FymGYaVo0ejAhA=="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wyg-0.0.22.tgz_1489282913958_0.2670611285138875"},"directories":{}},"0.0.23":{"name":"wyg","version":"0.0.23","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"scripts":{"start":"node demo"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"*"},"gitHead":"77dcab41e8e866bf1580ca63928293a164cd172e","_id":"wyg@0.0.23","_shasum":"3adf26bd4c3d755beab575df25b5a9c3a564023c","_from":".","_npmVersion":"4.1.2","_nodeVersion":"8.0.0-nightly20170210b471392f8c","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"3adf26bd4c3d755beab575df25b5a9c3a564023c","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.23.tgz","integrity":"sha512-Qp2ld/Rvuvmx2qAHnnejmIi1MXb0az/FaDqkXcRBel9bTSicKyAcXbKKBM/mWp5x+oUIF0oaTYVqUkhMvfYOEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVL4/7uXAKv8Q8RLo3NQfZypxdB4GuN/pXJLKw1ujA6QIgDn+cISrSIEvTlE/GkDge5Q3BIhUXPKmjHhmtMu+i6gk="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/wyg-0.0.23.tgz_1491454887889_0.4432988737244159"},"directories":{}},"0.0.24":{"name":"wyg","version":"0.0.24","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"scripts":{"start":"node demo"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"*"},"gitHead":"cc93ff8b72a053edb1b23b75009d7e00f2b5daa4","_id":"wyg@0.0.24","_shasum":"ce93094a0c2a164af8e589f6eb17c8149f154912","_from":".","_npmVersion":"4.1.2","_nodeVersion":"8.0.0-nightly20170210b471392f8c","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"ce93094a0c2a164af8e589f6eb17c8149f154912","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.24.tgz","integrity":"sha512-lSc3730mF4AqILaV+IH1B9fog3b1oTAG0AJqndZRBHcrUAVtQXiX30NvZYEFaoR421oEjV54nzfhFkarHfI7rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuRKDG062CkKklU1JNUvjNRPzPZtiKSHSbCh4jA/ohNQIhANipKZX1tduA07/u6M5DypCM6Gn2UfdtvHyOKaM0Qoj7"}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/wyg-0.0.24.tgz_1491825623347_0.9934894472826272"},"directories":{}},"0.0.25":{"name":"wyg","version":"0.0.25","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"scripts":{"start":"node demo"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"*"},"gitHead":"143afe1427809d40042d3a429dbfbce0b31cc432","_id":"wyg@0.0.25","_shasum":"3ee0716198aa6a39dd39a9ed9dccf0c4d0ec396e","_from":".","_npmVersion":"4.1.2","_nodeVersion":"8.0.0-nightly20170210b471392f8c","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"3ee0716198aa6a39dd39a9ed9dccf0c4d0ec396e","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.25.tgz","integrity":"sha512-nTo+AMlktmLiKXulyG1QTiS1BEeA0/zift3XupAfurm8e9mjtqcUFM3MzLKEMpYH446uWovwAu9UpizuvYq5tw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/u30u6VXSl3ADnVs0YzHkO1n1xL8cK1xHNaoD9eAMPQIgE86ZDA22BAH157nh7UhOD4iFLfWs6VMR+IJ8+iiaW0U="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wyg-0.0.25.tgz_1497136449132_0.8439027913846076"},"directories":{}},"0.0.26":{"name":"wyg","version":"0.0.26","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"scripts":{"start":"node demo"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"*","babel-core":"^6.24.1","babel-plugin-async-to-promises":"^1.0.5","babel-plugin-transform-async-generator-functions":"*","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.14.0","babel-register":"^6.24.1"},"gitHead":"ee16514507f87a06b2bdff18dd6c8e58ed6d92e0","_id":"wyg@0.0.26","_shasum":"bf3189ba6f282712419e5d522afe81717b0ec212","_from":".","_npmVersion":"4.1.2","_nodeVersion":"8.0.0-nightly20170210b471392f8c","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"bf3189ba6f282712419e5d522afe81717b0ec212","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.26.tgz","integrity":"sha512-rPsqT833Y6Hb00hHizCjSRVD7V8XZ0g2ZRSVZl2aSVENnMPK61B7zbvoHgLY71qqgOJ/4TiP2H/ecltrNpZeKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdKQ6Is5WwA2A+Rytg6H03DduqS2tiYF/F2jZa+hW2VwIgSxVGCS25HlR7LYFsOhlF/1GSTdMieQOTejgzxuRrpTk="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wyg-0.0.26.tgz_1499246006674_0.6196364867500961"},"directories":{}},"0.0.27":{"name":"wyg","version":"0.0.27","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"scripts":{"start":"node demo"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","dependencies":{"useless":"*","babel-core":"^6.24.1","babel-plugin-async-to-promises":"^1.0.5","babel-plugin-transform-async-generator-functions":"*","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.14.0","babel-register":"^6.24.1"},"gitHead":"aa79278d6d9010cbb3831edb10eab0973c73d401","_id":"wyg@0.0.27","_shasum":"00a01a66d10de7c6bfd1b4b4306c19d9bfe35db0","_from":".","_npmVersion":"4.1.2","_nodeVersion":"8.0.0-nightly20170210b471392f8c","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"shasum":"00a01a66d10de7c6bfd1b4b4306c19d9bfe35db0","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.27.tgz","integrity":"sha512-jwMHV/xTSUy6DPdlAg+jZHWIUXIkklyYEnvJinN5cgbiEY55tG8l48H2SJb5poDyU14mG2YkUvFMx14EUTHbag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQNa6dhfGkWZYhtU9tnzz4MVsCUi8iFgQC1gJac+5JwAIgZOEVP0wsTEMLDbn+LvX8VWBJRYytndWzyl9c7aebj1g="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wyg-0.0.27.tgz_1499935739357_0.6179791036993265"},"directories":{}},"0.0.28":{"name":"wyg","version":"0.0.28","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"scripts":{"start":"node demo","up":"git pull origin master && npm update"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","devDependencies":{"ajv":"^6.5.2","babel-core":"^6.24.1","babel-plugin-async-to-promises":"^1.0.5","babel-plugin-transform-async-generator-functions":"*","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.14.0","babel-register":"^6.24.1"},"dependencies":{"useless":"^0.1.351"},"gitHead":"5641df148e7205efb45506b4a0c14999e9bb7abe","_id":"wyg@0.0.28","_npmVersion":"6.4.1","_nodeVersion":"9.2.0","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"integrity":"sha512-LaNMn2va67AMClCcmePCaEVihHmuo3QCMIm3/CuB178hBmFiSnGb9VhihsCbXPnqx7IWSCjhiAIQRFhTfollFQ==","shasum":"f26eb6680879e822a8f0d051bb03c28352acee3d","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.28.tgz","fileCount":33,"unpackedSize":187230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsW0XCRA9TVsSAnZWagAA74IP+wd2yz17auUrMhB2SDDs\n7e+2b10L8uW2pOIPJDDJ71k6zWmZSKG22im7epCYeOY0Z1/AzFrGjo2aCs30\n443qMMzmM+x+5+Y/pK9rsPfakreQ7LJJYhGj2YCBkKGtJaPjyP6lEjNcie23\nwsgD8wAdRsDV/1QmM7GB7Rxie5f1tKMOY9yTnB24774XUKtuWVGyrd3jku5p\nEqWTV5EapdnGmu+cueuQmM31i7YKgeck1EMSALfOLHyZhy2FF+ft4zBKS/NW\nVCGo0HoN1QxgO1tkjIZYLyTrnmmPTrOUf1VSkfYkN4bKmuWRNPxQ4baItox5\nPEvI+IgJBL84ARx+jtaFyZa6DyqCBh3aYtB9EcwCG+aa+VWJkeabk8fBrYKQ\nJlImNcpCSSsdmE7wpld5WfwFUJAT8dCDWZ3s4zijv9IfOPGvRxjR0hQ7j4nu\nkDsJLEe9m+u2jgzH8jpvaakw8MhxsYXvXjGDcejz/z7aTzh2otkiVN054tMb\nItxfyrNpOibsPpmm1MoUQAMdXact3r6RDeHKuUT4zwAtgQ1MkXL34Djga58d\nEablMRRiqx9BQDGsBepgcIjFJ6ySyDQMEDekX8duDVknEOHI/cu2Jy7o3yAv\nrJmzInrBkCT6BqCtukyf0JagRVFS0p5AI3NLT1eKTV08WDY79h2GqigYk2rn\n5JYH\r\n=arYX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9/7PJTPD2iV9AkA67TkgJDVfFsRPFNIKu6UzoFF/zuQIgbi7syKp5LOM3MYtrJuz7B4IhuSTig1CySCCNU3Mf4KQ="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wyg_0.0.28_1538354454918_0.9795119916426998"},"_hasShrinkwrap":false},"0.0.29":{"name":"wyg","version":"0.0.29","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"scripts":{"start":"node demo","up":"git pull origin master && npm update"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","devDependencies":{"ajv":"^6.5.2","babel-core":"^6.24.1","babel-plugin-async-to-promises":"^1.0.5","babel-plugin-transform-async-generator-functions":"*","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.14.0","babel-register":"^6.24.1"},"dependencies":{"useless":"^0.1.352"},"gitHead":"5a02b4754b61881d0655780d493965e39997c53a","_id":"wyg@0.0.29","_npmVersion":"6.4.1","_nodeVersion":"9.2.0","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"integrity":"sha512-gKm6pyMuPGq+7zGuqFRba3qk4NbNQGrh0rwSUO2vAJ/wp8xMEXLe0UcWMnlrXeIYN7Dj/1p49GRGj8I9Fuze6Q==","shasum":"3eeffddb87d4c84743730fb93e5f2c6465222c8b","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.29.tgz","fileCount":33,"unpackedSize":187230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsXSGCRA9TVsSAnZWagAAL1AP/3Ep6UekcXnkszyPojWg\naSb5WZgUrlbuiqE0mqoBeg+W/8gTzpzHDFvlRGG8T/NEZvQ+KCbEJTGKNtQ6\npPdfEkZf4/oHqlgquORRiLZj/osxfOhUX72OQ9WPKs+mGCNOWHFQk6AoacG2\nmdmdTd1yB8Knv9tYa6jXzSNGppRYAIlsenjRpWbbIspIgQCIdxI4+/z5CtQO\n/zbvAXGPIDYtR7MQSKc95FzZ/w4UbekjU6TaSidQt1VUodFKLXMaMSycIq62\nz3ZA+NL00RNgXufl+GGJQ5iM2RgLm2D5dtY2G3ZalI8La4sQJ3QivUsZUuSb\nQPWWNF/sRNJ58bcJVfzw0tQMBSKqSHUgTD5Y03WrShYkVcAkFC2DM2i2L49e\nz5LIKpflu3Qio9HFf8eX+19NJ/RY+OXk6/b8fAcFxgKpx7t8x5+tVHG27fy+\nDy/XW/Xw1brSMouKRHUHzbFi1WEF9T5pSddntQl42O/ZVJW0T+iSJH74b521\ns1vgvXNNehwwLZjY94n3R6XONUAhCncw75EU2kqNOjDgoZRK/6cBwTshct7G\npLR8v8ZBA/MwcaAHTGf/qWqtT+Q8vjdlfmk1qqSh5dmUL0nRLwoBaX1qZUNX\noPJ5A1GSadOaFlJb1aN6YlwSoBJZBlV9esrezdFDqBvtKKQFQSU3ZFwQLV44\nWJgo\r\n=gCfV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6fkv45ehts54cVswnuvA8XZhv38VIxH/xaTCv8P1j/QIgI6imvPgAHd3a9wH/k9zL3ujA+48362DEdTN+KWz9RJc="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wyg_0.0.29_1538356357690_0.6605611070530755"},"_hasShrinkwrap":false},"0.0.30":{"name":"wyg","version":"0.0.30","description":"A new WYSIWYG editing experience for the modern web.","repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"scripts":{"start":"node demo","up":"git pull origin master && npm update"},"keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"license":"MIT","bugs":{"url":"https://github.com/xpl/wyg/issues"},"homepage":"https://github.com/xpl/wyg#readme","devDependencies":{"ajv":"^6.5.2","babel-core":"^6.24.1","babel-plugin-async-to-promises":"^1.0.5","babel-plugin-transform-async-generator-functions":"*","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.14.0","babel-register":"^6.24.1"},"dependencies":{"useless":"^0.1.353"},"gitHead":"4236b99bebbe3adfa1600f2c48df919e948ae225","_id":"wyg@0.0.30","_npmVersion":"6.4.1","_nodeVersion":"9.2.0","_npmUser":{"name":"xpl","email":"rocket.mind@gmail.com"},"dist":{"integrity":"sha512-g20OiG2FEkLdnTRHBGXShOAwG7ZdsqBdetwLxwSbpm+z2kkYX8mNg7HZrTnUXanYgtfyHfdJ9FhFyPlf2Eqpsw==","shasum":"618db7647d0f7053661fd8af739983892ae3ebfc","tarball":"https://registry.npmjs.org/wyg/-/wyg-0.0.30.tgz","fileCount":33,"unpackedSize":187230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsYg0CRA9TVsSAnZWagAAbd8QAKLE7Wdco6spMrlabnaY\noDALN5LHX1EVUNja9jDZhUZG4SJO8mzPXkLWGQXTlB8X9BQJA974ejcSETwU\nShGcF58iBnI8f3qMFIZjUAPhFCOEsRcu2EcqKB2lyicH4Ubh+KvIoFbHn9qq\nIRZjKI3KWnuCrup/KUIFyZCcokkufYbps6yutsvkqexfHkkABlWBztBmDLxH\nK58jr0/GpOov6yxNnTQ38OopWiGn2IecuWjeTnbkcwQAXbjk0OUKMIZx/JAT\niIcuWfIm6QslPRejUSj1ZzsFuPVoaZG/LuVhSjW7/xbmjN+DBXRV8FZycCut\nGSYFTvr1OX3IKooodIOzeHjzDveszeoOePIPcQy9FZA8uzq3zURk1iW6bxmm\nqfd+GV7jHk0clefDq8WGtUWI9z/zUjUy9Jq6TETcNU+g/qBWhLu8J0a4cPBs\nO56oFFvXmrnYU7pWKv4VCIGZN2PrzxjTKJpA8IGoCzH7m3/Cws+7kodBfZ4e\nzbtQPO1lzscOuLZBD5Tvia4qmOIHXY+9eQhmFRH+mNG+4/5erd4At2FVk63x\nqDVQ7F/B/kw+9SzhnrzDTGoskYCew3jqq8MIOmiLUXBPpCCXhrGgWZq3st7k\nm6dC33dCcxJYB1jgohlEYsSIaznE6O/QUYwMaF3AkFgyuDK4RPgHkZsogBFc\nRA4N\r\n=NCmY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAzwiTqUsSr9x9fiyPYbeOveIK7mvP3W2s3ZIEGZG0IvAiEAg5q9UxoHIRc53CRsfJwXZiX2yMmcDFKNvU4wUf6CrzI="}]},"maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wyg_0.0.30_1538361396247_0.3114682158846771"},"_hasShrinkwrap":false}},"readme":"# Wyg Editor\n\n**ATTENTION: WORK IN PROGRESS. NOT MEANT TO BE USED BY ANYONE — STILL IN DEVELOPMENT PHASE, MANY BUGS TO FIX**\n\nA new WYSIWYG editing experience for the modern web.\n\n- Built entirely from scratch\n- Works better than anything before\n- Minimalistic UI, blazingly fast (works with DOM nodes directly)\n- Normalizes entered markup on the fly (splits paragraphs with linebreaks)\n- Smart linebreak management (no Shift-Enter required to put a newline)\n- Drag & drop media between paragraphs\n- Insert media by simply pasting links into text\n- Arranges media nicely in columns\n- Fluid layout with animations\n- Floating markup panel with custom tags support\n- Serializes to/from JSON\n- Custom undo/redo manager (works with arbitrary DOM changes)\n- Intercepts native undo/redo commands (not limited to hotkeys)\n- Pluggable/extendable architecture based on [traits](https://github.com/xpl/useless/wiki/$trait)\n- [Test-driven](https://www.youtube.com/watch?v=IWLE8omFnQw)\n\n👉 [**Watch demo on YouTube**](https://www.youtube.com/watch?v=u1wNfSHwSQA)\n\n![pic](https://user-images.githubusercontent.com/1294454/28927630-be7869bc-7873-11e7-9040-e66847754e30.jpg)\n\n## Recent news\n\n- Implemented ability to insert text before/after media blocks: **[see demo video](http://quick.as/z8gdum3wq)**\n- Implemented \"choose file\" button behavior\n- Added doc entry on how to [set](https://github.com/xpl/wyg#setting-value) and [interpret](https://github.com/xpl/wyg#interpreting-value) the `value` property.\n- Refactored the [file uploading API](https://github.com/xpl/wyg#implementing-the-file-uploading).\n- Fixed crash when media links get pasted into empty editor.\n- Implemented [pluggable URL parsers and media renderers](https://github.com/xpl/wyg/blob/master/README.md#adding-support-of-new-media-types) facility.\n\n## TODO\n\nIn it's current state the stuff is quite unusable. Things to be done:\n\n- [ ] Safari compatibility (some tests fail).\n- [ ] MS Edge compatibility.\n- [ ] Implement hyperlink editing in the floating markup panel.\n- [x] Fix nonworking plus button (should trigger file open dialog).\n- [ ] Add build script.\n\nMinor (but important) tasks:\n\n- [x] Implement ability to insert text paragraphs at arbitrary location around media rows (**[see demo video](http://quick.as/z8gdum3wq)**).\n- [ ] Get rid of jQuery (moving to the [`Node+`](https://github.com/xpl/useless/blob/master/client/node%2B.js) library)\n- [ ] Make use of [`$depends`](https://github.com/xpl/useless/wiki/$trait#dependency-resolving-for-component-traits) mechanism for traits.\n\n## Running demo\n\nYou will need `node` and `npm`.\n\n1. Clone repo with `git clone http://github.com/xpl/wyg`\n2. Run `npm install` to install dependencies.\n3. Run `node demo.js`\n4. Open `localhost:1333` in Chrome (Safari / Firefox / Edge support is coming)\n\n## Updating demo\n\nInstead of `git pull`, use `./update.sh` (runs `git pull && npm update`). This is needed because it's dependencies change rapidly and you need to update all shit together to maintain consistency.\n\n## Under the hood\n\nEverything is built upon a JS library called [Useless.js](https://github.com/xpl/useless) (working title). It delivers composable [traits](https://github.com/xpl/useless/wiki/%24trait) support to JavaScript and a powerful unit test system. You may read more about it in the [project's wiki](https://github.com/xpl/useless/wiki). DOM operations are based on the [Node+](https://github.com/xpl/useless/blob/master/client/node%2B.js) library (coming with Useless).\n\n## Setting `value`\n\nEditor's state is exposed via the `value` property:\n\n```javascript\nwyg.value = [\n    { type: 'p', html: 'this is <b>text paragraph</b>, containing arbitrary HTML' },\n    { type: 'media', // media row\n      media: [\n          { type: 'img', // media element\n            src:  'http://example/some-image.jpg',\n            originalSize: { width: 1280, height: 720 } },\n          \n          { type: 'iframe', // media element\n            src:  '...'\n            originalSize: ... }\n      ]\n    },\n    ...\n  ]\n```\n\n## Interpreting `value`\n\nWhen reading `value`, some additional metadata is returned on media elements:\n\n```javascript\n  { type: 'img',\n    src:  '...'\n    originalSize: ...\n    relativeSize: {\n        width:  0.5,   // relative to page width\n        height: 0.247  // relative to element width\n    }\n  }\n```\n\n**Relative size** encodes the calculated size of a media item, relative to page width. It is abstract from absolute metrics and screen sizes, so a responsive layout could be generated from that schema.\n\nHere's how you can describe an element which height is encoded as a percentage of its width, with pure CSS:\n\n```html\n<media-row>\n  <media-item style=\"width: 50%;\">\n      <spacer style=\"padding-top: 24.7%;\"></spacer>\n      <content style=\"background-image:url(some-image.jpg);\"></content>\n  </media-item>\n  ...\n</media-row>\n```\n\n```css\nmedia-row          { display: block; white-space: nowrap; overflow: hidden; }\nmedia-item         { display: inline-block; position: relative; overflow: hidden; }\nmedia-item spacer  { display: block; background-size: cover; }\nmedia-item content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }\n```\n\nIt works because padding percentages are relative to element's _width_, even with `padding-top`. So a height can be encoded via an additional `spacer` element put inside.\n\n## Implementing the file uploading\n\nSee the reference implementation at the [`file_uploading.js`](https://github.com/xpl/wyg/blob/master/src/file_uploading.js) trait. You will need to implement the `uploadFile` method.\n\nWith a _Promise_, it should return elements instantiated by the `renderMedia` factory:\n\n```javascript\nuploadFile: function (file, then) {\n                return JSONAPI.uploadFile ('/uploads', file).then (this.$ (function (response) {\n                    return this.renderMedia ({ type: 'img',\n                                                src: '/uploads/' + response.file + '.jpg',\n                                       originalSize: { width: response.w,\n                                                      height: response.h } }) })).panic },\n```\n\nSee instructions below on how to extend the `renderMedia` method behavior.\n\n## Adding support of new media types\n\nAll incoming URLs that are pasted from clipboard go through `parseMedia` facility. This function converts URLs to abstract media definitions in JSON format. Those definitions, when serialized, can be easily stored/interpreted by external applications (e.g. template engines, when rendering to static HTML at server side).\n\nExample:\n\n```javascript\nthis.parseMedia ('https://www.youtube.com/watch?v=JQ0qgyCuoCw')\n    .then (x => console.log (x))\n```\n\nRendered output will be:\n\n```javascript\n{ type: 'iframe',\n  src:   '...',\n  originalUrl: 'https://www.youtube.com/watch?v=JQ0qgyCuoCw',\n  originalSize: { width: ..., height: ... } }\n```\n\nThis is then feeded to the media rendering facility, which processes those definitions, producing DOM elements:\n\n```javascript\nthis.renderMedia (def) // produces DOM element from that definition\n```\n\nBoth functions can be extended to introduce new behavior. This is how you do that.\n\n### 1. Extending `parseMedia`\n\nTag a method with **$parseMedia** to designate it as an URL parser. For asynchronous parsing, you can return Promise:\n\n```javascript\nimages: $parseMedia (function (url) {\n            return Image.fetch (url)\n                        .then (function (img) {\n                                return { type: 'img',\n                                          src:  url,\n                                 originalSize: { width: img.width,\n                                                height: img.height } } }) }),\n```\n\n```javascript\nyoutube: $parseMedia (function (url) {\n            var match = url.match(/^.*((youtu.be\\/)|(v\\/)|(\\/u\\/\\w\\/)|(embed\\/)|(watch\\?))\\??v?=?([^#\\&\\?]*).*/)\n            var id = match && (match[7].length == 11) && match[7]\n            if (id) {\n                return {\n                    type: 'iframe',\n                     src: '//www.youtube.com/embed/' + id + '?wmode=transparent',\n            originalSize: { width: 16000, // numbers here encode aspect ratio + max size (not actual onscreen size)\n                           height: 9000 } } } }),\n```\n\nYou can also use tag groups (a feature of every **$prototype**) to reduce clutter in case of many parser methods:\n\n```javascript\n$parseMedia: {\n    images: ...\n    youtube: ...\n    vimeo: ...\n    soundcloud: ... }\n```\n\nYou can query what types are supported by checking static `supportedMedia` property. It will be generated from method names:\n\n```javascript\nMyEditor.supportedMedia // ['images', 'youtube', ...]\n```\n\nFor those who are curious, here's the actual implementation of the `parseMedia` factory:\n\n```javascript\nparseMedia: function (url) {\n\n    /*  Gather values from all methods tagged with $parseMedia   */\n\n        var values = _.map (this.constructor.$membersByTag.parseMedia,\n                                function (def, name) {\n                                    return this[name] (url) || Promise.reject (null) }, this)\n    \n        return Promise.firstResolved (values)\n                      .then (function (media) {\n                                return _.extend (media, { originalUrl: url }) }) },\n```\n\n### 2. Extending `renderMedia`\n\nThis is done much the same way as with the former one:\n\n```javascript\nimg: $renderMedia (function (media) {\n        return N.img.attr ({ src: media.src,\n                           width: media.originalSize.width,\n                          height: media.originalSize.height }) }),\n```\n\n```javascript\niframe: $renderMedia (function (media) {\n            return N.div.add (\n                   N.iframe.attr ({ src: media.src, frameborder: 0, allowfullscreen: true })) } }),\n```\n\nThose methods are dispatched by looking into the `type` property in media definitions.\n\n## Changing default icons\n\nDefault icons are hard-coded as SVG HTML, and you can change them them by overriding these methods:\n\n```javascript\nmakeWaitIcon: function () {\n                return N.div.extend ({ className: 'wyg-icon', innerHTML: '<svg>...' }) },\n\nmakeAddIcon: function () {\n                return N.div.extend ({ className: 'wyg-icon', innerHTML: '<svg>...' }) },\n```\n\nExpected return value is a DOM node. For example, returning an FontAwesome icon (some CSS tweaks may be required):\n\n```javascript\nmake: function () {\n        return N.div.cls ('wyg-icon fa fa-plus-square') },\n```\n","maintainers":[{"name":"xpl","email":"rocket.mind@gmail.com"}],"time":{"modified":"2022-06-29T04:27:29.797Z","created":"2016-03-27T20:01:58.400Z","0.0.0":"2016-03-27T20:01:58.400Z","0.0.1":"2016-03-27T20:02:40.836Z","0.0.3":"2016-03-27T22:22:54.244Z","0.0.4":"2016-04-26T18:25:54.435Z","0.0.5":"2016-05-12T19:42:01.898Z","0.0.6":"2016-05-24T14:32:12.428Z","0.0.7":"2016-05-26T12:21:00.986Z","0.0.8":"2016-06-12T15:18:42.737Z","0.0.9":"2016-06-12T15:36:58.204Z","0.0.10":"2016-06-23T21:11:36.757Z","0.0.11":"2016-06-23T22:18:12.734Z","0.0.12":"2016-06-29T16:48:15.353Z","0.0.13":"2016-07-13T15:58:34.065Z","0.0.14":"2016-07-21T16:05:13.098Z","0.0.15":"2016-07-21T16:19:38.871Z","0.0.16":"2016-08-03T04:06:23.668Z","0.0.17":"2016-08-06T02:43:14.400Z","0.0.18":"2016-08-15T01:27:23.974Z","0.0.19":"2016-08-28T16:42:17.042Z","0.0.20":"2017-01-09T14:36:31.172Z","0.0.21":"2017-02-12T18:44:26.526Z","0.0.22":"2017-03-12T01:41:56.253Z","0.0.23":"2017-04-06T05:01:28.666Z","0.0.24":"2017-04-10T12:00:24.315Z","0.0.25":"2017-06-10T23:14:10.272Z","0.0.26":"2017-07-05T09:13:27.960Z","0.0.27":"2017-07-13T08:49:00.441Z","0.0.28":"2018-10-01T00:40:55.163Z","0.0.29":"2018-10-01T01:12:37.885Z","0.0.30":"2018-10-01T02:36:36.405Z"},"homepage":"https://github.com/xpl/wyg#readme","keywords":["Wyg","WYSIWYG","text editor","contenteditable"],"repository":{"type":"git","url":"git+https://github.com/xpl/wyg.git"},"author":{"name":"Vitaly Gordon","email":"rocket.mind@gmail.com","url":"http://github.com/xpl"},"bugs":{"url":"https://github.com/xpl/wyg/issues"},"license":"MIT","readmeFilename":"README.md","users":{"x84":true,"annet12":true,"inversia":true}}