mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
Add object setting plugin
Allows objects to be added to a plugin's settings using a tag with a JSON-like syntax in data-attributes. A complex object can be created by using an array or another object as a parent, the object will be added to the parent array or the parent object's declared property instead of as it's own data-key.
This commit is contained in:
@@ -9,7 +9,8 @@ define('settings', function () {
|
||||
'settings/textarea',
|
||||
'settings/select',
|
||||
'settings/array',
|
||||
'settings/key'
|
||||
'settings/key',
|
||||
'settings/object'
|
||||
];
|
||||
|
||||
var Settings,
|
||||
|
||||
Reference in New Issue
Block a user