boissier_app/public/aloha/plugins/com.gentics.aloha.plugins.Align
2011-06-30 19:29:38 +02:00
..
2011-06-30 19:29:38 +02:00
2011-06-30 19:29:38 +02:00
2011-06-30 19:29:38 +02:00
2011-06-30 19:29:38 +02:00
2011-06-30 19:29:38 +02:00

How to add the plugin
---------------------

Insert in the <head></head> :

<script type="text/javascript" src="aloha/plugins/com.gentics.aloha.plugins.Align/plugin.js"></script>
<link rel="stylesheet" href="aloha/plugins/com.gentics.aloha.plugins.Align/css/Align.css" />

Config example
--------------

"com.gentics.aloha.plugins.Align": { 
	// Allow align left, center and justify only for all elements
	// 4 possibilities : left, center, right and justify
	config : [ 'left','center','justify'],
  	editables : {
		// No align for the title.
		'#title'	: [  ],
		// Allow align justify only for .article
		'.article'	: [ 'justify' ] 
  	}
}

This plugin is release under the LGPL license.