Implements #4 - adapt ckeditor for dist