Skip to content

Commit 15d2f8e

Browse files
author
Florian Kroenert
committed
Fixed consistent rerendering bug introduced by MS postMessage logic...
1 parent 764f136 commit 15d2f8e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/web/Xrm.Oss.HtmlTemplating/HTMLWYSIWYGEDITOR/ControlManifest.Input.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<manifest>
3-
<control namespace="oss" constructor="HTMLWYSIWYGEDITOR" version="0.0.70" display-name-key="HTMLWYSIWYGEDITOR" description-key="HTMLWYSIWYGEDITOR description" control-type="virtual" >
3+
<control namespace="oss" constructor="HTMLWYSIWYGEDITOR" version="0.0.71" display-name-key="HTMLWYSIWYGEDITOR" description-key="HTMLWYSIWYGEDITOR description" control-type="virtual" >
44
<!--external-service-usage node declares whether this 3rd party PCF control is using external service or not, if yes, this control will be considered as premium and please also add the external domain it is using.
55
If it is not using any external service, please set the enabled="false" and DO NOT add any domain below. The "enabled" will be false by default.
66
Example1:

src/web/Xrm.Oss.HtmlTemplating/domain/AppState.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ export function appStateReducer(designState: AppState, action: SetEditorReadyAct
5454
editorProps: payload.props
5555
} as AppState;
5656
case "SET_EDITOR_READY":
57+
if (designState.editorReady === payload.editorReady) {
58+
return designState;
59+
}
60+
5761
return {
5862
...designState,
5963
editorReady: payload.editorReady

0 commit comments

Comments
 (0)