mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Added darkMode
passthrough to lexical editor
closes https://github.com/TryGhost/Team/issues/2753 - dark mode styles are being added to our Lexical-based Koenig editor, this lets us test them inside of Admin
This commit is contained in:
parent
d04b2e04d6
commit
6760bc1bb0
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,7 @@ const KoenigEditor = (props) => {
|
|||
|
||||
export default class KoenigLexicalEditor extends Component {
|
||||
@service ajax;
|
||||
@service feature;
|
||||
|
||||
@inject config;
|
||||
|
||||
|
@ -354,6 +355,7 @@ export default class KoenigLexicalEditor extends Component {
|
|||
onChange={this.args.onChange}
|
||||
registerAPI={this.args.registerAPI}
|
||||
cursorDidExitAtTop={this.args.cursorDidExitAtTop}
|
||||
darkMode={this.feature.nightShift}
|
||||
/>
|
||||
</KoenigComposer>
|
||||
</Suspense>
|
||||
|
|
Loading…
Add table
Reference in a new issue