RoR BlueCloth copy the html
Hello I am using for a rails (2.3.4) BlueCloth (2.0.11) an want type my text in die text box and after that I want to copy the html preview, which is provided by BlueCloth.
开发者_JAVA百科Now: when ever I mark the html, BlueCloth unmark it. Can I FIX This?
here a Screenshot
Here's a random guess: look for setTimeout
or setInterval
in your 2,000 lines of JavaScript. Either will have two parameters (the first of which may be a very long function literal), like so:
setTimeout( ..., xxx );
- or -
setInterval( ..., xxx );
The integer xxx
is now long to wait, in milliseconds. Make it however long you want. At this point this question appears to have nothing to do with Ruby, Rails, or BlueCloth.
精彩评论