diff --git a/samples/react-script-editor/README.md b/samples/react-script-editor/README.md index 04cfd596e..3d082d30b 100644 --- a/samples/react-script-editor/README.md +++ b/samples/react-script-editor/README.md @@ -108,6 +108,7 @@ Version|Date|Comments 1.0.0.11|March 18th, 2019|Fix for re-loading of script on smart navigation 1.0.0.12|April 15th, 2019|Re-fix for pad removal of web part 1.0.0.13|July 1th, 2019|Downgrade to SPFx v1.4.1 to support SP2019 +1.0.0.14|Oct 13th, 2019|Added resolve to fix pnpm issue. Updated author info. ## Disclaimer **THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** diff --git a/samples/react-script-editor/config/package-solution.json b/samples/react-script-editor/config/package-solution.json index 5b37b55cf..0542b2d64 100644 --- a/samples/react-script-editor/config/package-solution.json +++ b/samples/react-script-editor/config/package-solution.json @@ -1,9 +1,9 @@ { "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json", "solution": { - "name": "Modern Script Editor web part by Puzzlepart", + "name": "Modern Script Editor web part by @mikaelsvenson", "id": "1425175f-3ed8-44d2-8fc4-dd1497191294", - "version": "1.0.0.13", + "version": "1.0.0.14", "includeClientSideAssets": true, "skipFeatureDeployment": false }, diff --git a/samples/react-script-editor/package.json b/samples/react-script-editor/package.json index 2b8474970..8fceab00f 100644 --- a/samples/react-script-editor/package.json +++ b/samples/react-script-editor/package.json @@ -6,7 +6,8 @@ "node": ">=0.10.0" }, "resolutions": { - "natives": "1.1.3" + "natives": "1.1.3", + "@types/react": "15.6.6" }, "dependencies": { "@microsoft/load-themed-styles": "^1.4.1", @@ -27,7 +28,7 @@ "@microsoft/sp-webpart-workbench": "1.4.1", "@types/chai": "3.4.34", "@types/mocha": "2.2.38", - "@types/prop-types": "^15.5.3", + "@types/prop-types": "ts2.4", "ajv": "~5.2.2", "gulp": "~3.9.1", "webpack-bundle-analyzer": "^2.13.1" @@ -37,4 +38,4 @@ "clean": "gulp clean", "test": "gulp test" } -} +} \ No newline at end of file diff --git a/samples/react-script-editor/src/webparts/scriptEditor/PropertyPaneLogo.ts b/samples/react-script-editor/src/webparts/scriptEditor/PropertyPaneLogo.ts index c2b4c0344..9949e22a6 100644 --- a/samples/react-script-editor/src/webparts/scriptEditor/PropertyPaneLogo.ts +++ b/samples/react-script-editor/src/webparts/scriptEditor/PropertyPaneLogo.ts @@ -19,8 +19,7 @@ export class PropertyPaneLogo implements IPropertyPaneField -
Author: Mikael Svenson
-
+
Author: Mikael Svenson
`; } } diff --git a/samples/react-script-editor/src/webparts/scriptEditor/ScriptEditorWebPart.manifest.json b/samples/react-script-editor/src/webparts/scriptEditor/ScriptEditorWebPart.manifest.json index 1a651059b..fc9fe2a42 100644 --- a/samples/react-script-editor/src/webparts/scriptEditor/ScriptEditorWebPart.manifest.json +++ b/samples/react-script-editor/src/webparts/scriptEditor/ScriptEditorWebPart.manifest.json @@ -7,25 +7,23 @@ "supportsFullBleed": true, "manifestVersion": 2, "requiresCustomScript": true, - "preconfiguredEntries": [ - { - "groupId": "3a328f0a-99c4-4b28-95ab-fe0847f657a3", - "group": { - "default": "Puzzlepart" - }, - "title": { - "default": "Modern Script Editor" - }, - "description": { - "default": "Add arbitrary script to a page" - }, - "officeFabricIconFontName": "JS", - "properties": { - "script": "", - "title": "The Modern Script Editor web part!", - "removePadding": false, - "spPageContextInfo": false - } + "preconfiguredEntries": [{ + "groupId": "3a328f0a-99c4-4b28-95ab-fe0847f657a3", + "group": { + "default": "mAdcOW deZign" + }, + "title": { + "default": "Modern Script Editor" + }, + "description": { + "default": "Add arbitrary script to a page" + }, + "officeFabricIconFontName": "JS", + "properties": { + "script": "", + "title": "The Modern Script Editor web part!", + "removePadding": false, + "spPageContextInfo": false } - ] + }] } \ No newline at end of file