Questions tagged [markitup]

markItUp! is a JavaScript plug-in that allows any textarea to be turned into a markup editor.

markItUp! is built on the library.

Resources:

66 questions
8
votes
5 answers

Displaying preview panel automatically in markitup! editor

I'm using the markitup! as a markdown editor (example). Currently, I need to press the preview button (green tick) to display the preview panel. I would like the preview to be displayed automatically - how can I achieve this?
Alasdair
  • 298,606
  • 55
  • 578
  • 516
7
votes
3 answers

MarkItUp! continuous preview refresh without hitting enter

I'm using MarkItUp (http://markitup.jaysalvat.com/) and can't really figure out how to get it to continuously update the preview pane as each character is typed (or even when a 'space' is encountered). By default it refreshes the preview pane only…
psychotik
  • 38,153
  • 34
  • 100
  • 135
6
votes
3 answers

jQuery serialize error with textarea filed

I'm using this function, to submit form in the background, with custom messages. It works perfectly, except with textarea fields. I've read that the serialize function has problems with ex. linebreaks. $(function() { …
wintercounter
  • 7,500
  • 6
  • 32
  • 46
5
votes
1 answer

How do I make a custom markItUp preview page in PHP?

I have a question about markItUp!'s preview function. Inside jquery.markitup.js i have these settings: previewTemplatePath:'~/templates/preview.php', previewParserPath:'~/templates/preview.php', previewParserVar:'data' I'm not sure what to do with…
horgen
  • 2,183
  • 10
  • 30
  • 34
5
votes
1 answer

Django users logged out

I have been using Django for my application for quite some time now. I have had a problem that users get logged out suddenly. Users enter information using an admin model to enter information in a text area(using Django MarkitUp), when they click…
m b
  • 101
  • 8
5
votes
2 answers

Integrating MarkItUp rich text editor preview with ASP.NET MVC app

I'm testing out the MarkItUp! rich text editor in a MVC app, and everything is working great with the exception of the preview. In the settings (set.js), there is a previewParserPath property ("path to your BBCode parser"). I'm not exactly sure…
RSolberg
  • 26,821
  • 23
  • 116
  • 160
4
votes
1 answer

Can't get jQuery markItUp! to work

I can't get markItUp editor to work. My HTML code is pretty simple and it's copied from documentation: