Comments (12)
Check url to wysihtml.js
Open Developer console, switch to network tab and reload page. Filter by Javascript.
from wysihtml.
Sorry for late reply.
I've also put the wysihtml javascript files below the jQuery.
Here is the statistics (in particular order) [note that all time is 0ms]
jquery.min.js
wysihtml.js
wysihtml-toolbar.min.js
advanced.js
bootstrap.min.js
from wysihtml.
@astroxoom see
If you see 0 in "Transferred" or "Size" column it's because script isn't loaded at all.
from wysihtml.
from wysihtml.
@astroxoom try to disable any cache for test.
from wysihtml.
@Globulopolis I disabled it (when DevTools is opened) but still it is undefined, sorry for the late comment tho.
from wysihtml.
I changed
$(function() {
var editor = new wysihtml.Editor("wysihtml-textarea", {
toolbar: "wysihtml-toolbar",
parserRules: wysihtml5ParserRules
});
});
to:
(function($) {
var editor = new wysihtml.Editor("wysihtml-textarea", {
toolbar: "wysihtml-toolbar",
parserRules: wysihtml5ParserRules
});
});
There is no error anymore. However, the textarea is not displaying so well, even the toolbar is not showing up.
from wysihtml.
Hmmm... This is my code for editor and toolbar(using bootstrap for some menus and famfamfam iconpack for buttons)
http://demo.киноархив.com/static/wysihtml/
from wysihtml.
I updated my jquery and bootstrap javascript files, used jQuery(document).ready(function($){...});
, and now I can use CTRL+B to bold text around my text-area, but now I cannot use the toolbar. Cannot read property 'querySelectorAll' of null
from wysihtml.
@astroxoom can you provide a demo of you code? Or jsfiddle example.
from wysihtml.
I replaced the wysihtml, all-commands, table_editing, toolbar with the one provided in the dist folder.
Now this errors came up, checked Network tab in Google Chrome, they have status of 200 which means OK.
from wysihtml.
Note that I didn't build this from npm, just cloned the repository then copied the files from the dist folder over to my own dist folder.
from wysihtml.
Related Issues (20)
- Html is cleaned up after inserting an image or link when the composer is empty
- Update Value Of Existing Editors HOT 1
- Wyishtml crashes on IE 11 when formatting block with p HOT 1
- wysihtml.com home page textArea
- parser: whitelist `data-foo` attribute HOT 1
- Page scrolls down after document load on Firefox HOT 12
- Anchor Tag Isn't Applying href Attribute HOT 1
- loose the focus
- inserting a link are confusing control.
- Is there a way to get editor instance from the element
- Insert link with additional data
- cannot create link with href attr
- "Change" event is not triggered once a link is added/removed
- Type for parserRules
- Inserting element at start/end of line
- [QUESTION] Where I can find the CI service?
- ctrl+right/left arrow support
- Trying to get in touch regarding a security issue
- insertUnorderedList seems like it could be rolled into outdentList and indentList
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.
from wysihtml.