sooouh 6 lat temu
rodzic
commit
453e4a6c4d

+ 48 - 0
src/client/js/components/Admin/Customize/CustomizeScriptSetting.jsx

@@ -53,6 +53,54 @@ class CustomizeScriptSetting extends React.Component {
           </CardBody>
         </Card>
 
+        <table className="table table-borderless table-sm form-text text-muted">
+          <tbody>
+            <tr>
+              <th className="">
+                Placeholders:<br />
+                (Available after <code>load</code> event)
+              </th>
+            </tr>
+          </tbody>
+
+          <tbody>
+            <tr>
+              <th className="text-right"><code>$</code></th>
+              <td>jQuery instance</td>
+            </tr>
+          </tbody>
+
+          <tbody>
+            <tr>
+              <th className="text-right"><code>appContainer</code></th>
+              <td>GROWI App <a href="https://github.com/jamiebuilds/unstated">Unstated Container</a></td>
+            </tr>
+          </tbody>
+
+          <tbody>
+            <tr>
+              <th className="text-right"><code>growiRenderer</code></th>
+              <td>GROWI Renderer origin instance</td>
+            </tr>
+          </tbody>
+
+          <tbody>
+            <tr>
+              <th className="text-right"><code>growiPlugin</code></th>
+              <td>GROWI Plugin Manager instance</td>
+            </tr>
+          </tbody>
+
+          <tbody>
+            <tr>
+              <th className="text-right"><code>Crowi</code></th>
+              <td>Crowi legacy instance (jQuery based)</td>
+            </tr>
+          </tbody>
+
+
+        </table>
+
         <div className="form-text text-muted">
           Placeholders:<br />
           (Available after <code>load</code> event)