mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
allow publishing markdown to wordpress
This commit is contained in:
@@ -30,6 +30,9 @@ function validateInput (input) {
|
||||
validatedInput.isPinned = !!input.isPinned
|
||||
}
|
||||
|
||||
if (!_.isNil(input.blog)) {
|
||||
validatedInput.blog = input.blog
|
||||
}
|
||||
validatedInput.type = input.type
|
||||
switch (input.type) {
|
||||
case 'MARKDOWN_NOTE':
|
||||
|
||||
Reference in New Issue
Block a user