Skip to main content

collective.markitup integrates MarkItUp with Plone

Project description

Introduction

This product integrates the MarkItUp editor with Plone. MarkItUp is a jQuery plugin that turns text areas into a previewable WYSIWYM editor.

collective.markitup does not provide any additional markup languages. It is just another editor you can use to edit HTML, Markdown, Textile, ReStructuredText or any other markup you can choose in Plone’s Markup settings control panel.

A word of warning

This product is beta. Use at your own risk.

Installing

Install collective.markitup just like any other Plone product.

How to use collective.markitup

  1. Install it.

  2. In your personal preferences, set your editor to MarkItUp. You can also set it as the default editor in Site Setup → Editing

  3. Make sure any markup language you want users to be able to use are checked in Site Setup → Markup

collective.markitup

0.1b1 - October 19. 2011

  • Allow editor to apply to any AT Rich Text Field on an object, rather than just to the body [cewing]

  • Removed magicMarkup prompt for URL in link and image sets, it is redundant and confusing to have to see it [cewing]

  • Improved prompting information for magicMarkups in init.js to clarify the purpose of these prompts for end users [cewing]

  • Added image scales and image alignment classes for the image set overrides. Included sensible defaults for both. [cewing]

  • Auto-close the finder window opened for image and link buttons, if the plonefinder has forcecloseoninsert set to 1. [cewing]

  • Dependency on jquerytools 1.2 or greater. [msmith64]

  • FIXED: Image/Link picker fails because format string no longer specified in JSON. [msmith64]

  • FIXED: MarkItUp fails to load when no override is specified. [msmith64]

  • Added nazmd support [fvox13]

  • getSite() is cleaner than getUtility() [msmith64]

  • Registry component so you can add settings for any markup language. Currently takes JSON, so it’s a mess, but it’s something. [msmith64]

  • Browse to add links via the finder; however, now I have to go back and figure out how folks can add external links, too.

  • Got the images to appear in the editor. archetypes_tool doesn’t want to give me a usable page from a UID, so I hacked a view that gives a 301 for any given UID that points to a real page. Not ideal, but at least now the image button actually works. [msmith64]

  • Got the plonefinder to show images. (“url” selectiontype broken: Must use uid.)

  • Create the Javascript override for plonefinder’s Browser.selectItem

  • Much cleaner subclass of Finder. [msmith64]

  • Added documentation to init.js.

  • Wrapper to hide the ugly loop that MarkItUp requires in order to override individual buttons. [msmith64]

  • Much cleaner way of doing the transforms for previews. Safe, fast, and readable. MarkUpSet directories have to be named after the subtype (secondhalf of the mimetype). [msmith64]

  • Improved preview styles by adding <div id=”content”/> around the content to be previewed. [msmith64]

  • Improved preview styles even more so that they don’t need HTTP requests. Now the only crappiness is the amount of Javascript needed to get it done. [msmith64]

  • Improved preview styles so loading them isn’t quite as crappy. Still crappy though

  • Some cleanup/whitespace pedantry [msmith64]

  • Depends on collective.plonefinder [msmith64]

  • Added a somewhat crappy way to apply the page styles to the preview. It’s crappy, but it’s faster that causing Plone to load a full-template page. [msmith64]

  • Used portal_url defined in plone_javascript_variables.js to find root path to objects. [msmith64]

  • Removed unneeded template.

  • Previewer can pick between reStructuredText, Markdown, Textile, (and HTML, which is a no-op).

  • Auto-loads based on chosen content-type.

  • Needed resources load on-the-fly, so very little needs to be in the Plone registries.

  • Added plugins for Textile and Rest as well as more robust HTML.

  • Simple, unobtrusive default look. [msmith64]

  • Added proof-of-concept AJAX preview view of Markdown transform. [msmith64]

  • Tweaked GS profile so that user preferences are respected. TinyMCE, I’m talking to you. [msmith64]

  • Added MarkItUp JQuery plugin and registered resources in basic GS profile. [msmith64]

  • Added MarkItUp to available editors in control panel. [msmith64]

  • Initial setup [msmith64]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.markitup-0.1b1.zip (191.0 kB view details)

Uploaded Source

File details

Details for the file collective.markitup-0.1b1.zip.

File metadata

File hashes

Hashes for collective.markitup-0.1b1.zip
Algorithm Hash digest
SHA256 7b2a719cf6ecd42f6113986563291119d1f0ee6a7ea058e2b68999f632a53526
MD5 4e50902d461908bcaca8d5b9cf19bf67
BLAKE2b-256 46b862b9aa73834bb27364e765d0d794f8cdb3544b7df6e9e82b2921ee01554a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page