Improve a bit tinymce detection (#2155)

* Improve a bit tinymce detection

- Add a `script` pattern
- Add a way to get the major version

This can be tested [here](https://www.mediapart.fr/journal/france/080318/mandelieu-un-promoteur-vendeur-d-armes-en-affaire-avec-la-famille-du-maire)

* Add a missing part in a regexp, spotted by @gadcam
main
jvoisin 7 years ago committed by Elbert Alias
parent d5d2101e12
commit 4aa6c3d86a

@ -9598,8 +9598,9 @@
"cats": [
24
],
"script": "/tinymce(?:\\.min)?\\.js",
"js": {
"tinyMCE": ""
"tinyMCE.majorVersion": "([\\d.]+)\\;version:\\1"
},
"icon": "TinyMCE.png",
"website": "http://tinymce.com"