Comparing version 0.0.6 to 0.0.7
@@ -6,4 +6,3 @@ { | ||
"client_hooks": { | ||
"aceEditorCSS": "ep_align/static/js/index", | ||
"aceDomLineProcessLineAttributes": "ep_align/static/js/index", | ||
"aceDomLinePreProcessLineAttributes": "ep_align/static/js/index", | ||
"postAceInit": "ep_align/static/js/index", | ||
@@ -10,0 +9,0 @@ "aceInitialized": "ep_align/static/js/index", |
{ | ||
"description": "Add Left/Center/Right/Justify to lines of text in a pad", | ||
"name": "ep_align", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "John McLear", |
@@ -51,3 +51,3 @@ var _, $, jQuery; | ||
// Here we convert the class align:h1 into a tag | ||
var aceDomLineProcessLineAttributes = function(name, context){ | ||
var aceDomLinePreProcessLineAttributes = function(name, context){ | ||
var cls = context.cls; | ||
@@ -61,4 +61,4 @@ var domline = context.domline; | ||
var modifier = { | ||
preHtml: '<'+tag+'><p style="width:100%;text-align:' + tag + '"><span>', | ||
postHtml: '</span></p></'+tag+'>', | ||
preHtml: '<div style="width:100%;margin:0 auto;list-style-position:inside;text-align:' + tag + '">', | ||
postHtml: '</div>', | ||
processedMarker: true | ||
@@ -110,4 +110,4 @@ }; | ||
exports.postAceInit = postAceInit; | ||
exports.aceDomLineProcessLineAttributes = aceDomLineProcessLineAttributes; | ||
exports.aceDomLinePreProcessLineAttributes = aceDomLinePreProcessLineAttributes; | ||
exports.aceAttribsToClasses = aceAttribsToClasses; | ||
exports.aceEditorCSS = aceEditorCSS; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10676
17
215