Add Star Wars Text Page support and update journal styling
- Registered `StarWarsTextPageSheet` for handling text-type journal pages with custom settings. - Extended `journalSheets.js` to define `StarWarsTextPageSheet` with specific UI configurations. - Modified CSS to apply the Star Wars style background to `.editor-container` within the journal. - Enhanced overall journal aesthetics while maintaining the existing `StarWarsStyleJournalSheet`.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {StarWarsStyleJournalSheet} from "./journalSheets.js"
|
||||
import {StarWarsStyleJournalSheet, StarWarsTextPageSheet} from "./journalSheets.js"
|
||||
// ui.notifications.info
|
||||
// Register the custom journal sheet
|
||||
|
||||
@@ -8,6 +8,11 @@ Hooks.once('ready', () => {
|
||||
label: 'Star Wars Style Journal',
|
||||
makeDefault: false // Set to true if you want this as the default
|
||||
});
|
||||
DocumentSheetConfig.registerSheet(JournalEntryPage, "asc-starwars-style-journal", StarWarsTextPageSheet, {
|
||||
types: ['text'],
|
||||
label: 'Star Wars Text Page',
|
||||
makeDefault: false, // Not globally default—used conditionally by the journal sheet
|
||||
});
|
||||
});
|
||||
|
||||
Hooks.on("renderChatMessage", (message, html, data) => {
|
||||
|
||||
Reference in New Issue
Block a user