Make the visual editor KSES filter/user capabilities aware
|Reported by:||azaozz||Owned by:|
Currently the visual editor assumes "unlimited html" for all users. This can result in some surprises when a user doesn't have that capability.
We can make a function that translates the KSES allowed tags and attributes into TinyMCE format and sets the editor accordingly.