#2627 added default script sample
This commit is contained in:
parent
3fb4d929d3
commit
5a4f902a25
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -22,10 +22,10 @@
|
|||
},
|
||||
"officeFabricIconFontName": "JS",
|
||||
"properties": {
|
||||
"script": "",
|
||||
"script": "<div>sample text<div>\r\n\r\n<script>\r\n// It is preferred to use a self-executing function around your script if\r\n// code should run on each page load\r\n// See https://developer.mozilla.org/en-US/docs/Glossary/IIFE\r\n (function () {\r\n // put script here\r\n })() \r\n</script>",
|
||||
"title": "The Modern Script Editor web part!",
|
||||
"removePadding": false,
|
||||
"spPageContextInfo": false
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue