Can't get it to work due to rangy - RequireJS
See original GitHub issueIf I install as per the instructions
bootstrap: 'components/bootstrap/dist/js/bootstrap.min',
'bootstrap.wysihtml5': 'components/bootstrap3-wysiwyg/dist/amd/bootstrap3-wysihtml5.all',
I get the error of Uncaught Error: Script error for: rangy as this is missing.
I then found in the examples that maybe rangy needs adding as follows
'rangy': '../components/wysihtml5x/lib/rangy/rangy-core',
'rangy-selectionsaverestore': '../components/wysihtml5x/lib/rangy/rangy-selectionsaverestore',
but this than gives an error of Uncaught Error: Mismatched anonymous define() module: function () {
Any suggestions as to how I can get this working?
Issue Analytics
- State:
- Created 9 years ago
- Reactions:2
- Comments:6
Top Results From Across the Web
Common Errors - RequireJS
This fails because requirejs needs to be sure to load and execute all dependencies before calling the factory function above. If a dependency...
Read more >RequireJS isn't working for me - Stack Overflow
I'm working on a personal project and I'm using a lot of JavaScript code and working with a few libraries and plugins like...
Read more >usaa desktop login
In this article, we'll take a look at how to use the WebCatalog feature of the ... Randy joined USAA in 2017 as...
Read more >RequireJS - Quick Guide - Tutorialspoint
RequireJS - Quick Guide, RequireJS is a JavaScript library and file loader which ... define(function () { //Do setup work here return {...
Read more >From Require.js to Webpack — Part 2 (The How) - Medium
If you get your dependencies from NPM you don't need any of that! They will just work and you can go on building...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
any update on this ??
So, this library doesn’t work anymore with requireJS? Getting a “TypeError: rangy.saveSelection is not a function” here 😭