Hello
I am using RadEditor for SharePoint 2010 on an application page for editing HTML content of specific publishing pages (getting the value from field 'PublishingPageContent' of corresponding SPListItem and setting property Content of RadEditor control).
After saving HTML content everything looks alright on corresponding target page with following HTML in 'PublishingPageContent' (as an example):
But when opening page in "normal" edit mode or editing properties (in Pages library) the HTML gets transformed after saving:
This problems occurs independenly from RadEditor beeing activated as default HTML editor for site (in Site Features). And RadEditor reacts differently concerning reusable content if used in "normal" page edit mode compared to context in application page. It is only concerning readonly content (automatic update).
Does anybody know, how to overcome this issue? Are there for example specific JavaScript files / libraries, which have to be added to application page?
Thank you and best regards,
Roger
I am using RadEditor for SharePoint 2010 on an application page for editing HTML content of specific publishing pages (getting the value from field 'PublishingPageContent' of corresponding SPListItem and setting property Content of RadEditor control).
After saving HTML content everything looks alright on corresponding target page with following HTML in 'PublishingPageContent' (as an example):
<
span
class
=
"ms-rtestate-read ms-reusableTextView"
id
=
"__publishingReusableFragment"
>
Copyright© 2012 XXX - All
Rights Reserved
</
span
>
But when opening page in "normal" edit mode or editing properties (in Pages library) the HTML gets transformed after saving:
<
span
id
=
"__publishingReusableFragment"
></
span
>
This problems occurs independenly from RadEditor beeing activated as default HTML editor for site (in Site Features). And RadEditor reacts differently concerning reusable content if used in "normal" page edit mode compared to context in application page. It is only concerning readonly content (automatic update).
Does anybody know, how to overcome this issue? Are there for example specific JavaScript files / libraries, which have to be added to application page?
Thank you and best regards,
Roger