You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
('title','Description of the modal box.','TEXT',TRUE,FALSE),
6
+
('close','The text to display in the Close button.','TEXT',TRUE,FALSE),
7
+
('contents','A paragraph of text to display, without any formatting, without having to make additional queries.','TEXT',FALSE,TRUE),
8
+
('contents_md','Rich text in the markdown format. Among others, this allows you to write bold text using **bold**, italics using *italics*, and links using [text](https://example.com).','TEXT',FALSE,TRUE),
9
+
('unsafe_contents_md','Markdown format with html blocks. Use this only with trusted content. See the html-blocks section of the Commonmark spec for additional info.','TEXT',FALSE,TRUE),
10
+
('scrollable','Dreate a scrollable modal that allows scroll the modal body.','BOOLEAN',TRUE,TRUE),
11
+
('class','Class attribute added to the container in HTML. It can be used to apply custom styling to this item through css.','TEXT',TRUE,TRUE),
12
+
('id','ID attribute added to the container in HTML. It can be used to target this item through css or for displaying this item.','TEXT',TRUE,FALSE)
13
+
) x;
14
+
15
+
INSERT INTO example(component, description, properties) VALUES
16
+
('modal',
17
+
'This example shows how to create a modal box that displays a paragraph of text. The modal window is opened with the help of a button.',
18
+
json('[
19
+
{"component": "modal","id": "my_modal","title": "A modal box","close": "Close"},
20
+
{"contents":"I''m a modal window, and I allow you to display additional information or help for the user."},
0 commit comments