FEATURE: Add 'Create topic' automation script (#26552)

This commit adds a new automation script for creating topics. It's very similar to the existing 'create a post' automation, except that it posts new topics in a specific category and with optional tags.

Internal topic: t/125829.
This commit is contained in:
Osama Sayegh
2024-04-09 04:21:31 +03:00
committed by GitHub
parent 0085365459
commit 84b4e4bddf
7 changed files with 266 additions and 1 deletions

View File

@ -18,6 +18,6 @@ export default class PlaceholdersList extends Component {
@action
copyPlaceholder(placeholder) {
this.args.onCopy(`${this.args.currentValue}{{${placeholder}}}`);
this.args.onCopy(`${this.args.currentValue || ""}{{${placeholder}}}`);
}
}