Questions tagged [bootstrap-wysihtml5]

37 questions
6
votes
1 answer

wysihtml5 cursor jumps to wrong place on new line

When 'return' or 'enter' is hit, the cursor does not follow the actual line. Is there a solution to the problem? There are a few forks to the plugin which fixes the issue, but I am curious what the actual solution was to fix it. This is a jQuery…
Chandrew
  • 16,987
  • 4
  • 24
  • 40
5
votes
1 answer

How to render html text from database inside a django template using template tags

I save a text into my database using django form, textarea widget and bootstrap wysiwyg, but when I try to render it into my template using just the variable name {{ text }}, I get rendered just the text with html tags like this: what I want to…
Angie Alejo
  • 743
  • 9
  • 15
5
votes
1 answer

bootstrap-wysihtml5 is not displaying on Android device

I've implemented bootstrap-wysihtml5 editor in one of my website. It works fine everywhere on desktop, iPad and on iphone, but doesn't display at all on Android device. I checked using Chrome browser. Can anyone please let me know whats wrong there.…
ravk
  • 394
  • 3
  • 11
3
votes
2 answers

Discontiguous selection is not supported

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:
simo
  • 23,342
  • 38
  • 121
  • 218
2
votes
2 answers

Getting current selected text from wysihtml5 editor

Recently, I have worked with wysihtml5 Editor but I am not able to get the selected text of the Editor. Using JQuery I have written this code snippet but it is not working. var len = $("#ticketmessage").val().length; var start =…
2
votes
1 answer

update textarea value using jQuery

I'm using Bootstrap WYSIHTML5 html editor in my form like