1
0
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:
lurong
2018-02-24 01:01:54 +08:00
parent fb7280127c
commit f3f6095d81
6 changed files with 353 additions and 3 deletions

View File

@@ -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':