query parser: add reading mode 'none'
This commit is contained in:
parent
04727a8cd7
commit
aa5a044dad
@ -398,7 +398,7 @@
|
||||
},
|
||||
"readingMode": {
|
||||
"type": "string",
|
||||
"enum": ["hiragana", "katakana", "romaji"],
|
||||
"enum": ["hiragana", "katakana", "romaji", "none"],
|
||||
"default": "hiragana"
|
||||
}
|
||||
}
|
||||
|
@ -457,6 +457,7 @@
|
||||
<option value="hiragana">ひらがな</option>
|
||||
<option value="katakana">カタカナ</option>
|
||||
<option value="romaji">Romaji</option>
|
||||
<option value="none">Disabled</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -80,6 +80,8 @@ function jpConvertReading(expressionFragment, readingFragment, readingMode) {
|
||||
}
|
||||
}
|
||||
return readingFragment;
|
||||
case 'none':
|
||||
return null;
|
||||
default:
|
||||
return readingFragment;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user