bootstrap-wysihtml5

Discontiguous selection is not supported

被刻印的时光 ゝ 提交于 2019-12-23 21:44:05
问题 I am trying bootstrap-wysihtml5-rails , I am using twitter bootstrap 2 but when I get this result as in the image, and the error: Discontiguous selection is not supported. I tried to window['rangy'].initialized = false; like this: <script type="text/javascript"> $(document).ready(function(){ window['rangy'].initialized = false; $('.wysihtml5').each(function(i, elem) { $(elem).wysihtml5(); }); }) </script> But I still get the same error, I could live with it, but it seems that it breaks the