Skip to content

Drupal 7 Features package that I use to provide a uniform WYSIWYG editor to my clients.

Notifications You must be signed in to change notification settings

VeggieMeat/vmdoh_wysiwyg

Repository files navigation

### MAKEFILE IS UNTESTED ###

IMPORTANT: Until the release of WYSIWYG-7.x-2.2, you will need to either use
WYSIWYG-7.x-2.x-dev -OR- apply the following patch to WYSIWYG-7.x-2.1:

    http://drupal.org/files/0001-feature.inc-from-624018-211.patch

Additionally, you will need the following patch (not yet committed to dev) to
work with Panels.

    http://drupal.org/files/lazy_wysiwyg-356480-121.patch

This Feature depends on CKEditor. While everything is properly configured by
the Feature, the CKEditor library is not included.

Therefore, you must get the CKEditor library and install it to your libraries
folder (sites/*/libraries).

The CKEditor library can be downloaded from http://ckeditor.com/download

You will also need to assign the "Filtered HTML (WYSIWYG)" text format to the
roles that you want to be able to use it.

A write-up about this module can be found at the following website:

    http://www.vmdoh.com/blog/drupal-7-wysiwyg-feature



### Required Modules ###

CKEditor Link
Features
Image resize filter
Media (MUST be 2.x)
Wysiwyg
WYSIWYG Filter

### Required Libraries ###

CKEditor

### Allowed Tags ###

This Features export sets up the "Filtered HTML (WYSIWYG)" input filter to
allow the following tags and attributes:

a[!href|target<_blank|title|class|rel]
div[align<center?justify?left?right]
p[align<center?justify?left?right|style]
img[src|width|height|alt|title|style]
br
span
em
strong
cite
code
blockquote
ul
ol
li
dl
dt
dd
table
th
tr
td
h2
h3
h4
h5
h6

Additionally, the following CSS properties are allowed:

text-align
text-decoration
text-indent

margin
margin-top
margin-right
margin-bottom
margin-left
padding
padding-top
padding-right
padding-bottom
padding-left

float

list-style

border-collapse
border-spacing
caption-side
empty-cells
table-layout

### Image Handling ###

This Features export uses the Media module to handle images. You can use Image Styles or the Image Resize Filter (enabled by default).

About

Drupal 7 Features package that I use to provide a uniform WYSIWYG editor to my clients.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages