/[drupal]/contributions/modules/markitup/README.txt
ViewVC logotype

Contents of /contributions/modules/markitup/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Sat Jan 10 07:26:13 2009 UTC (10 months, 2 weeks ago) by garrettalbright
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +5 -0 lines
File MIME type: text/plain
Can't forget the readme.
1 // $Id:
2
3 NOTICE: The markItUp! JavaScript files are no longer included with this module, as per Drupal.org policy. You must download them and install them yourself. Download markItUp! at:
4 http://www.markitup.jaysalvat.com/downloads/
5
6 After expanding the markItUp! archive, copy the contents of its markitup directory into the markitup directory in the markitup module directory. (Does that make sense?)
7
8 ABOUT markItUP! Content Editor
9 ------------------------------
10 The markItUp module enables the markItUp universal content editor jQuery plugin
11 for use in Drupal's textareas.
12
13 It provides users with helpful buttons and keyboard shortcuts to apply and insert
14 tags into textareas. Additionally, users can turn on a live preview while
15 editing content. This behaves much the same as a split view code editor does in
16 a WYSIWYG editor, with the exception that you can't edit in the preview area.
17
18 This editor is based on markItUp! 1.1 (GPL MIT licensed)
19 Web site: http://www.markitup.jaysalvat.com/home/
20 Documentation: http://www.markitup.jaysalvat.com/documentation/
21
22 INSTALLING ADDITIONAL SETS AND SKINS
23 ------------------------------------
24 A "skin" is a custom interface style and a "set" is a collection of tags which
25 can be inserted into or applied to text. The jQuery plugin resides in the
26 "markitup" folder inside the markitup module folder. It is within there that you
27 can add new sets and skins in the corresponding folders.
28
29 IMPORTANT: Because Drupal wants stylesheets to have unique names, when you
30 install a set or skin in the markItUp! skins or sets folders you should make a
31 copy of the stylesheet and name it accordingly:
32 - for sets: directoryname-set-style.css
33 (where directoryname is the name of the set's directory)
34 - for skins: directoryname-skin-style.css
35 (where directoryname is the name of the set's directory)
36 It's a good idea to leave the original .css file intact for reference and in
37 case you need to make adjustments to the renamed .css file to integrate it into
38 your site.
39
40 IMPORTANT: When installing new sets, to avoid namespace collisions when invoking
41 sets, you must open each set's set.js file and rename the top level variable -
42 most likely "mySettings" - to "my_directoryname" (no quotes).
43
44 Once you've added a new set or plugin, you can tell the markitup module to use
45 it by visiting /admin/settings/markitup
46
47 Download skins and sets: http://www.markitup.jaysalvat.com/downloads/
48
49 DEVELOPER NOTES
50 ---------------
51 - custom skin for Drupal
52 - custom set for Drupal (to match filtered html)
53 - implement button to insert <!--break-->, perhaps
54 - since switching to markItUp 1.1, live preview isn't working... need to fix

  ViewVC Help
Powered by ViewVC 1.1.2