patch to improve switch between dokuwiki and ckg editors