Commit Graph

27 Commits

Author SHA1 Message Date
Abhishek Garg 3dd0ee134c
Use getElementsByTagName to get child nodes (#1351)
Use getElementsByTagName to get child nodes, instead of 'childNodes' property to enable retrieval of nodes at any level in element DOM.
Remove check for 'script' tag as not necessary
2020-06-22 14:09:19 +02:00
Mikael Svenson b65525f10a
Improved <script> tag handling (#1185) 2020-04-02 16:15:49 +02:00
Mikael Svenson 90e1658e18 Cleanup 2020-03-16 16:54:04 +01:00
Mikael Svenson b9c7977eff #1165 Split to onprem+online project.
Upgrade to SPFx v1.10.0, Teams tab support
2020-03-16 16:47:20 +01:00
Mikael Svenson f5c9ccec76 Changed author info. 2019-10-13 11:43:06 +02:00
Mikael Svenson 11ab7900cd #893 Semantically change code regarding async render() 2019-07-01 13:32:04 +02:00
Mikael Svenson 741abf4b70 Fixed #839 2019-04-15 14:52:17 +02:00
Mikael Svenson 923f006fb0 Force reload of src url per page load 2019-03-18 09:20:14 +01:00
Mikael Svenson 8c975dac6b Add a random query param to force reload of script src on smart navigation 2019-03-18 08:56:39 +01:00
Mikael Svenson 0a95601e37 Updated sample.
Added option to force reload script.
2019-02-05 11:58:24 +01:00
Mikael Svenson 411c21ec40 Fixed semantics 2019-02-05 08:16:54 +01:00
Mikael Svenson 67f63e2bc0 #756 Fix for DOM removing the padding in the zone. 2019-01-16 08:52:07 +01:00
VesaJuvonen e7db64e016 Fixing merge conflict in script editor web part 2018-09-10 13:47:34 +03:00
VesaJuvonen ffdbbfd3e5 Manual merge - step 1 2018-09-10 13:33:25 +03:00
Mikael Svenson 5044b54a31 Remove unused code 2018-09-04 08:25:58 +02:00
Mikael Svenson b5ab9513fe
Updated to use webpack dynamic imports (#605)
* Use webpack dynamic loading of editor
2018-08-22 18:17:18 +02:00
Mikael Svenson 734b83ae59
Updated script editor webpart (#603)
* Script editor update (#598)

* Updated to SPFx 1.5.1

* Fix remove padding issue.

* Moving import within container

* Added dynamic loaded edit module

* Made editor pane external and dynamic

* Updated readme message.

* Remove dependency for office ui fabric react

* Use a supported workaround to get the script root.
2018-08-21 12:54:26 +02:00
Mikael Svenson b3a87a7672 Use a supported workaround to get the script root. 2018-08-20 12:08:16 +02:00
Mikael Svenson 041ee33b38
Script editor update (#598)
* Updated to SPFx 1.5.1

* Fix remove padding issue.

* Moving import within container

* Added dynamic loaded edit module

* Made editor pane external and dynamic

* Updated readme message.
2018-08-17 13:02:33 +02:00
Mikael Svenson e770ade42f Added suppor for full page width for Script Ed WP 2018-05-23 11:42:02 +02:00
Mikael Svenson b199044b17 Fixed so that AMD modules don't detect define 2018-03-26 12:37:57 +02:00
Mikael Svenson a4804984d3 Support for AMD/UMD modules
Support for _spPageContextInfo
Updated documentation.
2018-03-08 13:29:18 -08:00
Mikael Svenson fb3c389a5f Script editor minor change and docs (#414)
* Added property to set a title property visible in Edit mode.

* Updated documentation with settings for non-script sites and tenant wide deployment
2018-02-14 15:05:45 +01:00
Mikael Svenson d8e4df3aca Updated script editor web part to 1.4 and minor updates (#396)
* Upgraded to drop 1.4 and asset bundling
Bumped version to 1.0.0.3

* Clean up of CSS

* Remove linting rule which caused warning on build

* Added property to toggle web part container padding on/off

* Refactored to have local function bindings at the top for better readability.
Fixed readonly warning in cancel dialog as property was set directly instead of via setState

* Replaced safeWithCustomScriptDisabled with requiresCustomScript
Added removePadding property.
Updated correct schema reference.
Removed comments.

* Added skipFeatureDeployment attribute for easier switch if needed.

* Added missing ;

* Fix for setting the default switch to require custom script enabled for the web part. Value got switched one the attribute changed.

* Added hyperlink on Puzzlepart logo.
2018-01-20 15:59:48 +02:00
Mikael Svenson 2e629e111d Bundle all CSS and Office UI Fabric in the part (#321)
* Updated to drop 1.3

* Changed to dynamic office ui fabric loading
Bundled needed CSS, and depend on oob CSS for layout

* Refactored from javascript to typescript.
2017-10-09 04:46:50 -04:00
Mikael Svenson a254b685c1 Updated SPFx version and more (#280)
* Updated SPFx from 1.0.0 to 1.1.0

* Added closing div.
Updated logo.

* Include override.css using require instead of sass @import which no longer works in the build chain.

* Updated README with complete building steps

* Updated version to 1.0.0.1

* Updated to pull version from package.json

* Include bundled Office UI Frabework CSS to ensure proper grid.

* Added version info

* Added safeWithCustomScriptDisabled property

* Changed to static linking

* Added explicit reference to office-ui-fabric v2

* Removed test CSS

* Remove commented out code

* Remove empty lines

* Removed non-existant styles

* Externalize Office UI Fabric components and CSS to CDN - keeping CSS in the project for reference.
2017-08-10 23:06:47 +03:00
Mikael Svenson eab018013b Script editor web part for a modern page (#151)
* Initial commit

* Added one more sample
2017-03-12 14:25:26 +02:00