Connect the redactor editor to the autolock

Previously the rich text editor introduced the loss of the collision avoidance feature.

This request connects the new rich text editor with the autoLock code used with the <textarea> previously. And, if the HTML ticket thread is disabled, the <textarea> and autoLock system will be used exactly as before.