markitup

MarkItUp! continous 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 when the enter key is hit. Is there any way to customize this behavior? The documentation...

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? ...

Customizing the markitUp Toolbar

Has anyone figured out how to truely customize the markitup toolbar? Sure you can remove items from the mySettings config variable but that somehow garbles the toolbar. You end up with the right toolbar items represented by the wrong buttons. Any ideas? ...

markitup changes the explicitly set size of textarea?

Hi I set up several textarea's with diffrent sizes as: <textarea class="markItUp" rows="5" cols="80" name="upstring"> or <textarea class="markItUp" rows="100" cols="80" name="upstring"> But after the markitup has been applied they are always resized to 18 rows. Why? I have checked rows with firebug and its unchanged (still 5 or 1...

markItUp for Wordpress widget

I am using markItUp for a textarea in a WP widget (that is, on widgets.php page, while creating and editing a widget). The textarea is markItUp'ed when I first open the widget, but after I click save the functionality is lost and I am back to a regular textarea. I compared the source code for the before-save and after-save versions of ...

Integrate MarkItUp Rich Text Editor Preview with ASP.NET MVC App

Update I have have this up and working on my site. http://rsolberg.com/ViewBlog/21 I'm currently 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 s...

How do I insert text at the focus into a markitup editor with javascript?

I've implemented markitup to handle users entering markdown text. I want to replace the default image insert command with a nice jquery routine that lets the user browse for an image. I'm able to edit the set.js file to call my javascript routine that brings up the file browser: {name: 'Picture', key: 'P', call: 'insertImage'}, My ins...

Trying to integrate Jeditable+MarkItUp and Thickbox/Lightbox

I've managed to successfully integrate MarkItUp with Jeditable based on the instructions on those two sites. What I would really like to do, however, is to have the Jeditable/MarkItUp editing window appear in a Thickbox or Lightbox overlay. So far my attempts to do this have not been successful. So, at the moment, I have the standard co...

Why the Markitup BBcode preview doesnt work for me?

I dont know how to make works BBcode preview on Markitup Editor. I followed all instructions and the editor is working but i really dont understand what to do to make the correct preview appear, actually I can open the windows preview but i cant get the html code. I had download the parser file (markitup.bbcode.parser.php) and settled t...

How do I protect my website from javascript injection attacks when using rich text editors?

Hi all I am using the markitup editor to get the value for one of my fields and storing it a sql server 2008 db. Now I guess the problem is people having script tags and javascript in the editor and injecting malicious scripts and I have my validate input turned false. So can anyone suggest me a way to write a custom validation method th...

markItUp! (jQuery text editor) - How to make a costum 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 previewParserPath and previewParserVar. Is it possible to grab the content sent by mark...

Problem getting preview from Django-MarkItUp in Admin interface

I am working on a custom markup formatter for Django and I wanted to interface it with MarkItUp. It is successfully being called when I save the field, which is of type MarkupField, but when I try to preview this field from the Admin interface using the default settings, all I get back in the preview box is plaintext. I am using the Ma...

Integrating MarkitUp and MarkdownSharp with asp.net forms website

Hi, I'm using markdownsharp with my asp.net forms website. I want to use MarkItUp as my editor and have found a straight forward article on how to integrate with MVC which seems straight forward enough: http://rsolberg.com/ViewBlog/21 However, how do I do this with a forms website? How do I get the MarkItDown Textarea on a postback a...

django-markitup editor passes empty POST

Hi everyone, I am a total newbie and this is my first post at stackoverflowew although I have found a lot of good info while learning python. I am trying to get this to work since days and I get more and more fustrated. I will try to include as much info as i think is needed. Your hints for debugging this will be appreciated. The edito...

I can't get the MarkItUp to display bbcode in the preview

I want to use markItUp to allow users to format their text using bbcode, but the preview isn't working. I've downloaded markItUp 1.1.8 from the site and tested this locally. The default behaviour is to use HTML code for formatting, and pressing preview renders the code as html and displays the formatting. I've downloaded the "basic b...

rails markitup/markdown or textile

I would like to give my user's the option to nicely format their comments. I am not really looking for something super fancy, perhaps something lightweight. There is a ton of information about markup/markdown/texttile etc. Which it the way to go in rails, performance and usability, compatibility with jquery, security being the priority...

markitup settings issue

Here is my settings in set.js. I basically don't want the H1 - H3 tags, images etc. So I deleted those lines but my markitup text area appears to not like the settings and shows up like following. I am using the textile set with a basic simple skin. Also, is there a sprited version of the images? mySettings = { previewParserPath:...

Where to put third-party plugins/libraries in ASP.NET MVC

I'm using the markItUp! jQuery-based editor in an ASP.NET MVC project. I understand the purpose of the various default folders in ASP.NET MVC, but I'm not sure how a third-party plugin like markItUp! fits into this structure. markItUp! has its own images, CSS files, and scripts, but instead of separating those files into the existing p...