silverstripe-framework/_config/html.yml
2023-01-18 10:58:53 +13:00

23 lines
816 B
YAML

---
Name: corehtml
---
SilverStripe\Core\Injector\Injector:
SilverStripe\Forms\HTMLEditor\HTMLEditorConfig:
class: SilverStripe\Forms\HTMLEditor\TinyMCEConfig
SilverStripe\Forms\HTMLEditor\TinyMCEScriptGenerator: '%$SilverStripe\Forms\HTMLEditor\TinyMCECombinedGenerator'
SilverStripe\Forms\HTMLEditor\TinyMCECombinedGenerator:
class: SilverStripe\Forms\HTMLEditor\TinyMCECombinedGenerator
properties:
AssetHandler: '%$SilverStripe\Assets\Storage\GeneratedAssetHandler'
SilverStripe\Forms\HTMLEditor\TinyMCEConfig:
image_size_presets:
- width: 600
i18n: SilverStripe\Forms\HTMLEditor\TinyMCEConfig.BEST_FIT
text: Best fit
name: bestfit
default: true
- i18n: SilverStripe\Forms\HTMLEditor\TinyMCEConfig.ORIGINAL
text: Original
name: originalsize