Comments (11)
I think this happens when no text is selected and the updateToolbar method calls document.queryCommandState.
from bootstrap-wysiwyg.
Having the same issue (using latest version of bootsrap wysiwyg)
from bootstrap-wysiwyg.
I have the same error (line 30) in FF 23.0.1. In Chrome (28.0) all works fine.
from bootstrap-wysiwyg.
I've got the same problem with the editor tinymce in one of muy applications, I suppose that Bootstrap uses the Tinymce too, Someone found out the solution?
from bootstrap-wysiwyg.
Just putting my hand up over here to say this is also an issue for me. FF 23.0.1
from bootstrap-wysiwyg.
@jordandh For what it's worth, commit 82ccb4f in pull request #66 does seem to clear up the error. Should that be reconsidered and merged?
from bootstrap-wysiwyg.
Having the same issue.
from bootstrap-wysiwyg.
I have this issue on FF 30, is there any suggestions?
from bootstrap-wysiwyg.
See: http://stackoverflow.com/a/25800912/1484471
I resolve this issue as below:
find:
$(options.toolbarSelector).find(toolbarBtnSelector).each(function () {
var command = $(this).data(options.commandRole);
if (document.queryCommandState(command)) {
change this line:
if (document.queryCommandState(command))
to:
if (editor.is(':focus') && document.queryCommandState(command))
from bootstrap-wysiwyg.
+1 for @vanquybn suggestion. This worked for me.
from bootstrap-wysiwyg.
I'm having same error on the latest version. I try to insert a link but everytime I click on the textbox to insert the link, it disappear immediately.
from bootstrap-wysiwyg.
Related Issues (20)
- Chrome can't get all the base-64???? HOT 1
- Save text in MySQL with HTML-Code HOT 1
- How does it upload the image? HOT 3
- How to prevent putting 'div' tags HOT 1
- On the same page there are multiple bootstrap-wysiwyg HOT 1
- Clear Selected Text Formatting
- Cannot apply multiple text decorations at once
- Cursor disappears when "Insert picture" is clicked and cancelled.
- Video element inside editor
- how do you make this work with existing textareas HOT 1
- Bold doesn't work HOT 1
- Font size... is there any way....
- Is there paste button ??????? HOT 1
- Can be used for creating an email message?
- how to change div to p tag
- How to populate the editor div with formatted text? HOT 1
- Semantic web support
- how it works for multiple editor in a single page
- Buttons update unexpectedly (mouseout)
- Help
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 bootstrap-wysiwyg.