-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from aem-design/develop
Develop
- Loading branch information
Showing
64 changed files
with
785 additions
and
2,810 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
aemdesign-aem-common/src/main/content/META-INF/vault/filter-blank.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<workspaceFilter version="1.0"> | ||
<filter root=""/> | ||
</workspaceFilter> |
8 changes: 8 additions & 0 deletions
8
...ontent/jcr_root/apps/aemdesign/clientlibs/core/clientlibs-author-coralui-cfe/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" | ||
jcr:description="used to load dialog helpers into content fragment editor." | ||
jcr:primaryType="cq:ClientLibraryFolder" | ||
allowProxy="{Boolean}true" | ||
categories="[dam.cfm.authoring.v2]" | ||
cssProcessor="[default:none,min:none]" | ||
jsProcessor="[default:none,min:none]"/> |
2 changes: 2 additions & 0 deletions
2
...ain/content/jcr_root/apps/aemdesign/clientlibs/core/clientlibs-author-coralui-cfe/css.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#base=css | ||
cf-editor.css |
29 changes: 29 additions & 0 deletions
29
...t/jcr_root/apps/aemdesign/clientlibs/core/clientlibs-author-coralui-cfe/css/cf-editor.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/*cf-editor.css - additional styles for content fragment editor*/ | ||
|
||
/* start counter for every text area */ | ||
.paragraphcounter { | ||
counter-reset: cf-rte-par-counter; | ||
} | ||
|
||
/* increment counter every par block and add counter */ | ||
.paragraphcounter > p:before { | ||
|
||
counter-increment: cf-rte-par-counter; | ||
content: "#" counter(cf-rte-par-counter) ""; | ||
float: right; | ||
color: black; | ||
background-color: lightgray; | ||
width: 40px; | ||
text-align: center; | ||
border-radius: 100%; | ||
vertical-align: middle; | ||
opacity: .5; | ||
|
||
} | ||
|
||
/* highlight every par block */ | ||
.paragraphcounter > p { | ||
|
||
border: 1px dashed rgba(0, 0, 0, .5); | ||
|
||
} |
2 changes: 2 additions & 0 deletions
2
...main/content/jcr_root/apps/aemdesign/clientlibs/core/clientlibs-author-coralui-cfe/js.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#base=js | ||
cf-editor.js |
15 changes: 15 additions & 0 deletions
15
...ent/jcr_root/apps/aemdesign/clientlibs/core/clientlibs-author-coralui-cfe/js/cf-editor.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//cf-editor.js - additional logic for content fragment editor | ||
|
||
(function ($) { | ||
'use strict'; | ||
|
||
$("[data-element$='__asset']").each(function(){ | ||
var name = $(this).attr("data-element").split("__asset")[0]; | ||
if (name) { | ||
console.log("loading paragraph counter to field [" + name + "]."); | ||
var selector = ".cfm-multieditor:has(input[data-element='" + name + "']) .cfm-multieditor-richtext-editor" | ||
$(selector).addClass("paragraphcounter"); | ||
} | ||
}) | ||
|
||
}(jQuery)); |
53 changes: 3 additions & 50 deletions
53
...sign/clientlibs/core/clientlibs-resources/resources/icons/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.