Improved pasting of content during WYSIWYG mode
authorAlexander Ebert <ebert@woltlab.com>
Tue, 23 Dec 2014 19:58:54 +0000 (20:58 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 23 Dec 2014 19:58:54 +0000 (20:58 +0100)
commit6ead8f5b6c3790b13f4a1d1fc8b39dfbf37f1f0f
treeca5bee799ef907cb6ec97d98d36612dfb2a372fe
parent8a1bb0316c066f1505780905c6ff35af53bdffd3
Improved pasting of content during WYSIWYG mode

This of course fails if a page has a completely messed up markup e.g. Spiegel Online, but I cannot fix the view for them without messing up the other. The current approach deals best with the average content encountered, if it encounters messy markup it follows the simple rule: Garbage in, Garbage out.
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js
wcfsetup/install/files/js/3rdParty/redactor/plugins/wmonkeypatch.js