Skip to content

kRapaille/Aloha-Plugin-Align

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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' ] 
  	}
}

About

Align plugin for Aloha Editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published