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
In CKEditor, Delete just the closing shortcode (or just the opening shortcode). For example, /anchor
Publish the course
Actual result: Course fails to publish
Expected result: May need discussion, but whatever it is, publishing shouldn't break.
Context
We have several "legacy shortcodes". These are shortcodes that were introduced during the migration from old ocw in order to keep supporting functionality that existed in the old system but which we do not fully support in the new system.
An example is {{<anchor name href >}} text {{</anchor>}} shortcode. This shortcode enables creation of named anchors to support linking to specific parts of a page. We do not support creating or editing this shortcode in OCW Studio, but our intention was to support editing of other content in the same page without corrupting the shortcode. (See #1013)
However, we do allow deleting legacy shortcodes. And our CKEditor plugin treats openers and closers as separate shortcodes. Consequently, you can delete just the closer {{< /anchor >}} (or just the opener). This results in an unbuildable course.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
/anchor
Actual result: Course fails to publish
Expected result: May need discussion, but whatever it is, publishing shouldn't break.
Context
We have several "legacy shortcodes". These are shortcodes that were introduced during the migration from old ocw in order to keep supporting functionality that existed in the old system but which we do not fully support in the new system.
An example is
{{<anchor name href >}} text {{</anchor>}}
shortcode. This shortcode enables creation of named anchors to support linking to specific parts of a page. We do not support creating or editing this shortcode in OCW Studio, but our intention was to support editing of other content in the same page without corrupting the shortcode. (See #1013)However, we do allow deleting legacy shortcodes. And our CKEditor plugin treats openers and closers as separate shortcodes. Consequently, you can delete just the closer
{{< /anchor >}}
(or just the opener). This results in an unbuildable course.The text was updated successfully, but these errors were encountered: