Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are there working samples? #29

Closed
xplicit opened this issue May 9, 2015 · 6 comments
Closed

Are there working samples? #29

xplicit opened this issue May 9, 2015 · 6 comments

Comments

@xplicit
Copy link

xplicit commented May 9, 2015

I have installed bootstrap-wysiwyg-steveathon from bower. Then I opened a file examples/basic.html and tried to write some chars into edit field. I've got a javascript exception:

NotFoundError: Node was not found
document.execCommand(command, 0, args);

browser: firefox 37.0.2

Are there any working samples how to use this component?

@xplicit
Copy link
Author

xplicit commented May 9, 2015

Also the site http://steveathon.github.io/bootstrap-wysiwyg/ does not show working samples of component, which can be evaluated on the site. It only links to the page with old mindmup wysiwyg component.

@codewithtyler
Copy link
Contributor

There is no current live sample no, all working samples are available from the repo itself. I'm also running Firefox v37.0.2 and I'm able to use basic.html with no problems.

@xplicit
Copy link
Author

xplicit commented May 9, 2015

What I do:
open empty folder

bower install jquery.hotkeys

add in file bower_components\jquery.hotkeys\.bower.json string "version" : "1.0.0"

bower install bootstrap-wysiwyg-steveathon

navigate to bower_components\bootstrap-wysiwyg-steveathon\examples

run firefox basic.html

after then I try to enter some chars into the edit field and get js error mentioned above

@xplicit
Copy link
Author

xplicit commented May 9, 2015

OK, I've tried to clone repository and from repository basic sample is working, so the issue is only about bower package.

@codewithtyler
Copy link
Contributor

Right, I've got a PR open that updates the project's bower.json file (plus adds some other minor stuff that I've caught). I'm using the one in my PR with no problems.

@steveathon
Copy link
Owner

Marked this as a bug because it will be fixed with the bower change.

Confirmed enhancement on #39 to add others on the pages.

steveathon added a commit that referenced this issue Aug 28, 2015
Added bower.json file
Fixes #29 and #39 by adding a live demo to the website
Removed bower since we use CDN for links
Switched Google Code Prettify to CDN
Migrated jquery.hotkeys from manual management to management using bower
Changed folder structure and updated bootstrap-wysiwyg to newly released
Updated basic usage section and included syntax highlighting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants