steveathon / bootstrap-wysiwyg

Tiny bootstrap-compatible WYSIWYG rich text editor
MIT License
661 stars 1.71k forks source link

Are there working samples? #29

Closed xplicit closed 8 years ago

xplicit commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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

codewithtyler commented 9 years ago

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 commented 9 years ago

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

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