mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
* Implement creator's note style tag preferences * Decouple external media preference from style preference * Allow explicitly empty prefixes in decodeStyleTags * Fix Copilot comments * Refactor global styles management into StylesPreference class * Refactor openAttachmentManager to return an object instead of an array * Unify header structure * Re-render characters panel on setting initial preference * Add note about classname prefixing * Rename event handler
17 lines
941 B
HTML
17 lines
941 B
HTML
<div class="flex-container flexFlowColumn">
|
|
<h3 data-i18n="Choose how to apply CSS style tags if they are defined in Creator's Notes of this character:" class="margin0">
|
|
Choose how to apply CSS style tags if they are defined in Creator's Notes of this character:
|
|
</h3>
|
|
<h4 data-i18n="CAUTION: Malformed styles may cause issues." class="neutral_warning">
|
|
CAUTION: Malformed styles may cause issues.
|
|
</h4>
|
|
<label class="checkbox_label" for="global_styles_forbidden">
|
|
<input type="radio" id="global_styles_forbidden" name="global_styles_preference" />
|
|
<span data-i18n="Just to Creator's Notes">Just to Creator's Notes</span>
|
|
</label>
|
|
<label class="checkbox_label" for="global_styles_allowed">
|
|
<input type="radio" id="global_styles_allowed" name="global_styles_preference" />
|
|
<span data-i18n="Apply to the entire app">Apply to the entire app</span>
|
|
</label>
|
|
</div>
|