Compare commits
1 commit
main
...
bug/rich-e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f96805bb7 |
2 changed files with 10 additions and 5 deletions
|
|
@ -14,14 +14,13 @@ export class RichEditor extends HandlebarsApplicationMixin(DocumentSheetV2) {
|
|||
// #region Options
|
||||
static DEFAULT_OPTIONS = {
|
||||
classes: [
|
||||
`ripcrypt`,
|
||||
`ripcrypt--RichEditor`,
|
||||
`RichEditor`,
|
||||
],
|
||||
window: {
|
||||
title: `Text Editor`,
|
||||
frame: true,
|
||||
positioned: true,
|
||||
resizable: false,
|
||||
resizable: true,
|
||||
minimizable: true,
|
||||
},
|
||||
position: {
|
||||
|
|
@ -67,6 +66,10 @@ export class RichEditor extends HandlebarsApplicationMixin(DocumentSheetV2) {
|
|||
this.document = document;
|
||||
this.path = path;
|
||||
};
|
||||
|
||||
get title() {
|
||||
return `Text Editor: ${this.document.name} (${this.path})`;
|
||||
};
|
||||
// #endregion
|
||||
|
||||
// #region Lifecycle
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.ripcrypt--RichEditor {
|
||||
width: 500px;
|
||||
.RichEditor {
|
||||
width: 525px;
|
||||
height: 600px;
|
||||
|
||||
> .window-content {
|
||||
|
|
@ -12,6 +12,8 @@
|
|||
height: 100%;
|
||||
|
||||
.editor-content {
|
||||
padding: 0 8px;
|
||||
border-radius: 8px;
|
||||
color: var(--input-text);
|
||||
background: var(--input-background);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue