Skip to content

Commit

Permalink
LPS-59813 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Oct 30, 2015
1 parent 4380b9d commit 9d0b14c
Showing 1 changed file with 9 additions and 8 deletions.
Expand Up @@ -53,14 +53,6 @@ public void populateConfigJSONObject(
"b strong i hr h1 h2 h3 h4 h5 h6 em ul ol li pre table tr th; " +
"img a[*]");

String extraPlugins = jsonObject.getString("extraPlugins");

extraPlugins = extraPlugins.replace(
",ae_tableresize", StringPool.BLANK);
extraPlugins = extraPlugins.concat(",creole");

jsonObject.put("extraPlugins", extraPlugins);

Map<String, String> fileBrowserParams =
(Map<String, String>)inputEditorTaglibAttributes.get(
"liferay-ui:input-editor:fileBrowserParams");
Expand All @@ -72,6 +64,15 @@ public void populateConfigJSONObject(

jsonObject.put("decodeLinks", Boolean.TRUE);
jsonObject.put("disableObjectResizing", Boolean.TRUE);

String extraPlugins = jsonObject.getString("extraPlugins");

extraPlugins = extraPlugins.replace(
",ae_tableresize", StringPool.BLANK);
extraPlugins = extraPlugins.concat(",creole");

jsonObject.put("extraPlugins", extraPlugins);

jsonObject.put("format_tags", "p;h1;h2;h3;h4;h5;h6;pre");

String removePlugins = jsonObject.getString("removePlugins");
Expand Down

0 comments on commit 9d0b14c

Please sign in to comment.