feat: consolidate syntax highlighting code into standalone plugin (#9783)
This commit is contained in:
@@ -104,7 +104,7 @@ export default class ParamBody extends PureComponent {
|
||||
|
||||
const Button = getComponent("Button")
|
||||
const TextArea = getComponent("TextArea")
|
||||
const HighlightCode = getComponent("highlightCode")
|
||||
const HighlightCode = getComponent("HighlightCode", true)
|
||||
const ContentType = getComponent("contentType")
|
||||
// for domains where specSelectors not passed
|
||||
let parameter = specSelectors ? specSelectors.parameterWithMetaByIdentity(pathMethod, param) : param
|
||||
@@ -148,7 +148,7 @@ export default class ParamBody extends PureComponent {
|
||||
contentTypes={ consumes }
|
||||
onChange={onChangeConsumes}
|
||||
className="body-param-content-type"
|
||||
ariaLabel="Parameter content type"
|
||||
ariaLabel="Parameter content type"
|
||||
controlId={controlId}
|
||||
/>
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user