Read toml formatted configs for display
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -44,7 +44,7 @@ class GlModelHooks {
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the config json in a <pre> tag
|
||||
* Render the config toml in a <pre> tag
|
||||
*
|
||||
* @param $input The text inside the custom tag
|
||||
* @param array $args Any attributes given in the tag
|
||||
@@ -170,15 +170,8 @@ class GlModelHooks {
|
||||
$uploadFormObj->mComment .= <<<CONF
|
||||
|
||||
<mvconfig>
|
||||
{
|
||||
"viewerConfig": {
|
||||
"default": {
|
||||
"camera-controls": true
|
||||
}
|
||||
},
|
||||
"annotations": {},
|
||||
"annotationSets": {}
|
||||
}
|
||||
[viewerConfig.default]
|
||||
camera-controls = true
|
||||
</mvconfig>
|
||||
CONF;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user