I'm getting a weird issue when trying to sync a page that has an RTE with macro's, It always says there is a difference. I have narrowed it down to the folowing.
I have compared the raw content of both the RTE's and the raw content in backoffice is the same, however when converge does a compare, the RTE content is not the same, for some reason in the site I am merging to, an extra paramater is added to the macro container, I have no idea wher this comes from, and means lots of pages show is needing to be merged even though they are the same.
Hi Huw, just only had a quick look, but I think it must be coming from Umbraco (when the content is saved). I checked v8.17 and it's there. Then checked v7.15 and it's not there.
I'll need to add a new DataTypeConverter, once I figure out what version it was introduced in. This may take me a while (hoping to do some work on Converge over Christmas), but you can do the same to fix the issue now.
I'll post the code here when done, but you can check here for the approach.
Unfortunately in my case this didn't help, I am assumimg it is because the RTE is in a grid and it therefore does not get picked up by my Umbraco.TinyMCE convertor, I tried changing it to propertyEditorAlias == "Umbraco.Grid" but that didn't pick it up either.
Odd sync issue with Macro in RTE
Hi,
Using latest Converge version.
I'm getting a weird issue when trying to sync a page that has an RTE with macro's, It always says there is a difference. I have narrowed it down to the folowing.
I have compared the raw content of both the RTE's and the raw content in backoffice is the same, however when converge does a compare, the RTE content is not the same, for some reason in the site I am merging to, an extra paramater is added to the macro container, I have no idea wher this comes from, and means lots of pages show is needing to be merged even though they are the same.
In both sites the RTE content has this div
However in the Converge compare it thinks my local copy is this
Where is this loading attribute coming from?
Hi Huw, just only had a quick look, but I think it must be coming from Umbraco (when the content is saved). I checked v8.17 and it's there. Then checked v7.15 and it's not there.
I'll need to add a new DataTypeConverter, once I figure out what version it was introduced in. This may take me a while (hoping to do some work on Converge over Christmas), but you can do the same to fix the issue now.
I'll post the code here when done, but you can check here for the approach.
https://www.stuartmullinger.com/projects/web/converge/data-type-converter/
Check for propertyEditorAlias == "Umbraco.TinyMCE" and implement ConvertProperty() to look for these divs, and then add the loading attribute.
Add the new converter using:
Thanks Stuart, I will take look next week when I'm back home.
Hi Stuart,
Unfortunately in my case this didn't help, I am assumimg it is because the RTE is in a grid and it therefore does not get picked up by my Umbraco.TinyMCE convertor, I tried changing it to propertyEditorAlias == "Umbraco.Grid" but that didn't pick it up either.
mmm, I did another rebuild and it now picks up the Grid, so will try again :)
Let me know how you get on.
All good so far
is working on a reply...