Xrm-Templating-Language icon indicating copy to clipboard operation
Xrm-Templating-Language copied to clipboard

Text format / CSS not used when switching to "New look" in D365

Open orb-mue-mar opened this issue 1 year ago • 7 comments

Hi Florian,

we can reproduce a problem with the formatting when switching to the "new look" in D365. It seems that the CSS within the HTML isnt used at all. We already updated it to the latest release.

"New look" turned off: image

"New look" tuned on: (it also seems that another Editor is in use then, but i am not sure about that) image

Thank you to have look into it in advance! Marcus

orb-mue-mar avatar Apr 18 '24 12:04 orb-mue-mar

Hi Marcus,

this seems to be about the display of the templated data inside the dynamics rich text editor rather than about the designer itself, right? I'll take a look at it. Might be though that it's Microsoft that is interfering with the CSS classes in the new UI.

Kind regards, Florian

DigitalFlow avatar Apr 21 '24 06:04 DigitalFlow

Hi Marcus,

this seems to be about the display of the templated data inside the dynamics rich text editor rather than about the designer itself, right? I'll take a look at it. Might be though that it's Microsoft that is interfering with the CSS classes in the new UI.

Kind regards, Florian

Yes, the problem seems to be within the rich text editor when switching to "New look". Thanks for having a look into it.

Regards, Marcus

orb-mue-mar avatar Apr 22 '24 07:04 orb-mue-mar

Hi Florian,

I can confirm we have the same issue in our tenant with the templates when switching to the New look.

Thank you for taking a look.

Best Regards, Catalin

catalinpotinte avatar Apr 22 '24 08:04 catalinpotinte

Update: New information: we are also using your Solution in our own environment. The issue only appears when creating Emails manually. Automatic generated/sent Emails are not affected.

image

Best regards, Marcus

orb-mue-mar avatar Apr 22 '24 09:04 orb-mue-mar

Could you find the time to have a look into it?

Kind regards, Marcus

orb-mue-mar avatar May 22 '24 13:05 orb-mue-mar

Update:

The above issues still persist with activating the new look.

Lately there is a new "development" and with the new look randomly the body of email fails to load image

The error message is:

Error Details: Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. at bu (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:89469) at Nl (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:101256) at t.unstable_runWithPriority (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.1770bc40965b9d51aafd016172077d13.js:14:3768) at Wo (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:44549) at Tl (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:99217) at pl (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:95328) at https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:44772 at t.unstable_runWithPriority (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.1770bc40965b9d51aafd016172077d13.js:14:3768) at Wo (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:44549) at Qo (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:44717)

Did anyone else encounter this?

Thank you in advance for your help.

catalinpotinte avatar Sep 10 '24 09:09 catalinpotinte

I set up an organization where I can try the "new look" and report my findings. The issue you posted looks very much like the platform was doing something that breaks it.

DigitalFlow avatar Sep 10 '24 11:09 DigitalFlow