-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(UVE): Enable Inline editing in text fields for Angular SDK (#29124)
### Proposed Changes * Allow Users to inline editing in Angular example ### Checklist - [x] Tests - [x] Security Implications Contemplated (add notes if applicable) ### Cases #### 1. Plain Mode https://github.com/user-attachments/assets/c4f17cb9-9b35-46ad-b815-005c13446a6a ### 2. Minimal Mode https://github.com/user-attachments/assets/6d1ad636-2bcc-4de1-9d78-5222ad48b6d0 ### 3. Full Mode https://github.com/user-attachments/assets/57d12a74-ba09-40cb-bc98-993abc6b4e93 ### 4. Same Content On Multiple Pages https://github.com/user-attachments/assets/ddf1308d-7044-4f25-bd34-208e4b9eaac0 ### 5. Live Mode https://github.com/user-attachments/assets/0a1e43d5-1838-4cc6-b6b8-35034ee9791e --------- Co-authored-by: Jalinson Diaz <zjaaaldev@gmail.com>
- Loading branch information
Showing
240 changed files
with
131,239 additions
and
142 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './lib/components/dot-editable-text/dot-editable-text.component'; | ||
export * from './lib/layout/dotcms-layout/dotcms-layout.component'; | ||
export * from './lib/services/dotcms-context/page-context.service'; | ||
export * from './lib/models'; |
4 changes: 4 additions & 0 deletions
4
...web/libs/sdk/angular/src/lib/components/dot-editable-text/dot-editable-text.component.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,4 @@ | ||
:host ::ng-deep .mce-content-body:not(.mce-edit-focus):hover { | ||
outline: 2px solid #006ce7; | ||
border-radius: 4px; | ||
} |
8 changes: 8 additions & 0 deletions
8
...eb/libs/sdk/angular/src/lib/components/dot-editable-text/dot-editable-text.component.html
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 @@ | ||
@if (isInsideEditor) { | ||
<editor | ||
#tinyEditor | ||
[init]="init" | ||
[initialValue]="content" | ||
(onMouseDown)="onMouseDown($event)" | ||
(onFocusOut)="onFocusOut()" /> | ||
} |
Oops, something went wrong.