diff --git a/samples/react-script-editor/README.md b/samples/react-script-editor/README.md index f9f713732..a9a72fd40 100644 --- a/samples/react-script-editor/README.md +++ b/samples/react-script-editor/README.md @@ -206,6 +206,7 @@ Version|Date|Comments 1.0.17.0|January 29th, 2021|Changed versioning to 3 parts. Updated npm packages, restructured documentation, minor change to webpack analyzer setup. 1.0.18.0|June 14, 2022|Upgrade to SPFx v1.13.1 1.0.19.0|August 31, 2022|Added support for section background color +1.0.20.0|October 10, 2022|Added sample html/script with self-executing function ## Minimal Path to Awesome diff --git a/samples/react-script-editor/config/package-solution.json b/samples/react-script-editor/config/package-solution.json index 7ea527eba..04842a4ce 100644 --- a/samples/react-script-editor/config/package-solution.json +++ b/samples/react-script-editor/config/package-solution.json @@ -3,7 +3,7 @@ "solution": { "name": "Modern Script Editor web part by mikaelsvenson", "id": "1425175f-3ed8-44d2-8fc4-dd1497191294", - "version": "1.0.19.0", + "version": "1.0.20.0", "includeClientSideAssets": true, "skipFeatureDeployment": false, "isDomainIsolated": false, @@ -13,9 +13,9 @@ "termsOfUseUrl": "", "websiteUrl": "https://www.techmikael.com/", "mpnId": "" - } + } }, "paths": { "zippedPackage": "solution/pnp-script-editor.sppkg" } -} +} \ No newline at end of file diff --git a/samples/react-script-editor/package-lock.json b/samples/react-script-editor/package-lock.json index fa81c602a..1dde1536c 100644 --- a/samples/react-script-editor/package-lock.json +++ b/samples/react-script-editor/package-lock.json @@ -1,6 +1,6 @@ { "name": "pnp-script-editor", - "version": "1.0.18", + "version": "1.0.20", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -25519,4 +25519,4 @@ } } } -} +} \ No newline at end of file diff --git a/samples/react-script-editor/package.json b/samples/react-script-editor/package.json index 4ba667c49..4df6911f9 100644 --- a/samples/react-script-editor/package.json +++ b/samples/react-script-editor/package.json @@ -1,6 +1,6 @@ { "name": "pnp-script-editor", - "version": "1.0.19", + "version": "1.0.20", "private": true, "main": "lib/index.js", "resolutions": { @@ -41,4 +41,4 @@ "clean": "gulp clean", "test": "gulp test" } -} +} \ No newline at end of file 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 bf0c03947..f8f0592b6 100644 --- a/samples/react-script-editor/src/webparts/scriptEditor/ScriptEditorWebPart.manifest.json +++ b/samples/react-script-editor/src/webparts/scriptEditor/ScriptEditorWebPart.manifest.json @@ -22,10 +22,10 @@ }, "officeFabricIconFontName": "JS", "properties": { - "script": "", + "script": "
sample text
\r\n\r\n", "title": "The Modern Script Editor web part!", "removePadding": false, "spPageContextInfo": false } }] -} +} \ No newline at end of file