crm-ui-insert-rx="insert:body_html"
ng-model="mailing.body_html"
ng-blur="checkTokens(mailing, 'body_html', 'insert:body_html')"
+ class="crm-wysiwyg-fullpage"
></textarea>
<span ng-model="body_html_tokens" crm-ui-validate="hasAllTokens(mailing, 'body_html')"></span>
<div ng-show="htmlForm.$error.crmUiValidate" class="crmMailing-error-link">
$(item).addClass('crm-wysiwyg-enabled');
+ var isFullPage = false;
+ if ($(item).hasClass('crm-wysiwyg-fullpage')) {
+ isFullPage = true;
+ }
+
CKEDITOR.replace($(item)[0], {
filebrowserBrowseUrl: browseUrl + '&type=files',
filebrowserImageBrowseUrl: browseUrl + '&type=images',
filebrowserImageUploadUrl: uploadUrl + '&type=images',
filebrowserFlashUploadUrl: uploadUrl + '&type=flash',
allowedContent: true, // For CiviMail!
+ fullPage: isFullPage,
customConfig: CRM.config.CKEditorCustomConfig,
on: {
instanceReady: onReady