Skip to content

WysiwygConfiguration

crazystick edited this page Sep 16, 2012 · 3 revisions

Install module Wysiwyg

Install module LES Wysiwyg Conf

Then go to Configuration -> Content authoring -> Wysiwyg profiles

Attach existing text format (WYSIWYG) with TinyMCE editor and click Save.

Then click Edit to configure it:

BUTTONS AND PLUGINS

Select next buttons:

  • Bold
  • Align right
  • Unlink
  • Source code
  • Remove format
  • Italic
  • Align left
  • Align center
  • Link
  • Image
  • Paste from Word
  • HTML block format
  • Font style

CLEANUP AND OUTPUT

  • Untick Remove linebreaks
  • Tick Apply source formatting
  • Tick Force cleanup on standard paste

CSS

  • Block formats: p,h2,h3,h4,h5,h6,div,img,em,br,span,a
  • Editor CSS: Defined CSS
  • CSS path: sites/all/themes/wysiwyg/wysiwyg.css
  • CSS classes:
    Aseta pilt vasakule=image-left
    Aseta pilt paremale=image-right

Save your changes and make sure WYSIWYG format is the first in the list. Clear cache.

Something went wrong with that request. Please try again.