integrated portal resources into ckeditor