Skip to content

Commit 5796968

Browse files
committed
MC-6271: Add docs for content type forms
Completed first draft, ready for review
1 parent 5274dec commit 5796968

File tree

5 files changed

+273
-99
lines changed

5 files changed

+273
-99
lines changed

docs/create-basic-content-type/step-3-add-components.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ To do this, we need to override the protected `retrieveOptions()` function from
138138
Preview.prototype.retrieveOptions = function retrieveOptions() {
139139
var options = $super.retrieveOptions.call(this, arguments);
140140
//console.log(options);
141-
142-
// Change option menu title
143-
options.title.preview.config.label = "Quote Menu";
144141

145142
// Change option menu icons
146143
options.remove.icon = "<i class='icon-admin-pagebuilder-error'></i>";
@@ -161,7 +158,7 @@ Preview.prototype.retrieveOptions = function retrieveOptions() {
161158
};
162159
```
163160
164-
In the preceding code, we made changes to the options menu title, icons, and tooltips. You can also remove options from the menu. For example, if you don't want end-users to move or duplicate your content type, you can remove those options from your menu using `delete options.move` and `delete options.duplicate` as shown commented out in the code.
161+
In the preceding code, we made changes to the options menu icons and tooltips. You can also remove options from the menu. For example, if you don't want end-users to move or duplicate your content type, you can remove those options from your menu using `delete options.move` and `delete options.duplicate` as shown commented out in the code.
165162
166163
![Create config file](../images/options-menu-custom.png)
167164

0 commit comments

Comments
 (0)