You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Add support for custom css across all notes (#925)
This commit is contained in:
committed by
Laurent Cozic
parent
11ddc55911
commit
cb1fd85ca4
@ -27,6 +27,7 @@ const defaultState = {
|
||||
appState: 'starting',
|
||||
hasDisabledSyncItems: false,
|
||||
newNote: null,
|
||||
customCss: '',
|
||||
collapsedFolderIds: [],
|
||||
clipperServer: {
|
||||
startState: 'idle',
|
||||
@ -585,6 +586,12 @@ const reducer = (state = defaultState, action) => {
|
||||
newState.decryptionWorker = decryptionWorker;
|
||||
break;
|
||||
|
||||
case 'LOAD_CUSTOM_CSS':
|
||||
|
||||
newState = Object.assign({}, state);
|
||||
newState.customCss = action.css;
|
||||
break;
|
||||
|
||||
case 'SET_NOTE_TAGS':
|
||||
newState = Object.assign({}, state);
|
||||
newState.selectedNoteTags = action.items;
|
||||
|
Reference in New Issue
Block a user