true-script-editor's Issues
Installation Instructions
Would you please add more detailed installation and usage instructions to the README.md (like we use SPO? I would really appreciate it. Thank you, in advance.
Content displays in edit mode but disappears when page is saved
I was able to get this deployed to a modern site and I can see html rendering when in edit mode, but as soon as I save the page, the html disappears.
UPDATE: After saving you have to refresh the page to see any added content.
Getting issue for cdn
We have installed web part in 2018 and now we are getting below error on page
[SPLoaderError.loadComponentError]:
Failed to load component "5b3ca4ee-a6df-493d-bd4f-8489a5b246a2" (TrueScriptEditorWebPart). Original error: Failed to load URL 'https://publiccdn.sharepointonline.com/pcpro365.sharepoint.com/163800463de5f9285ad4f6f9cc0a97985b96b057e062d4733849cc0fc90eeffbd6d72bb8/TrueScriptEditor/true-script-editor-truescripteditorstrings_en-us_536e65149b0acf4d52c0043073b9fc59.js' for resource 'trueScriptEditorStrings' in component '5b3ca4ee-a6df-493d-bd4f-8489a5b246a2' (TrueScriptEditorWebPart). There was an error requesting the file.
INNERERROR:
Failed to load URL 'https://publiccdn.sharepointonline.com/pcpro365.sharepoint.com/163800463de5f9285ad4f6f9cc0a97985b96b057e062d4733849cc0fc90eeffbd6d72bb8/TrueScriptEditor/true-script-editor-truescripteditorstrings_en-us_536e65149b0acf4d52c0043073b9fc59.js' for resource 'trueScriptEditorStrings' in component '5b3ca4ee-a6df-493d-bd4f-8489a5b246a2' (TrueScriptEditorWebPart). There was an error requesting the file.
CALLSTACK:
Error
at t [as constructor] (https://modernb.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_e216f9d2ceba19eb89f0f03a7b3d7c7b.js:67:19823)
at new t (https://modernb.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_e216f9d2ceba19eb89f0f03a7b3d7c7b.js:68:9374)
at Function.e.buildErrorWithVerboseLog (https://modernb.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_e216f9d2ceba19eb89f0f03a7b3d7c7b.js:68:46574)
at Function.e.buildLoadComponentError (https://modernb.akamai.odsp.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_e216f9d2ceba19eb89f0f03a7b3d7c7b.js:68:42619)
at https://modernb.akamai.odsp.cdn.office.net/files/sp-client/chunk.systemjs-component-loader_en-us_5fb53ed0cfeca06f5fdc.js:1:66020
Can't build
After many failed attempts trying to get the right version of NodeJS, I could land on version 8.15.4 which ran "NPM INSTALL" without failures... but the GULP BUILD failed miserably.
Can you please add some instructions? Versions required? It doesn't seem to work.
Here it is the shortened output (for brevity):
Building: C:\nodejs\node.exe C:\dev\SPFx\True-Script-Editor\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\nodejs\node.exe',
gyp verb cli 'C:\dev\SPFx\True-Script-Editor\node_modules\node-gyp\bin\node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which
failed Error: not found: python2
..
...
...... and so on and on.....
Web part disappears in edit mode
Steps:
Insert web part
Add some html
Save and publish page
Code renders on page
Click edit
Issue:
Web part not visible in edit surface so contents can't be edited.
deployment
Hi Coleman
Hope you are well. How can I deploy this webpart?
Regards
Code is repeated multiple times when one true script editor web part is added to a page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.