Wrangling Guidelines: Rich Text button not loading the rich text editor

Description

1. Log in as admin
2. Admin Posts > Wrangling Guidelines > New Wrangling Guideline
3. Press the Rich Text button

What happens
The "Rich Text" button takes on a pressed look and the instructions change to "Type or paste formatted text." However, the rich text editor (RTE) does not load – it's still just a plain textarea.

What should happen
The RTE should load, like it does on the news post page.

Notes
The RTE also fails to load when editing a guideline, but it's the same code (the _wrangling_guideline_form partial).

Activity

Show:
redsummernight
September 2, 2018, 1:12 AM

The tinyMCE init script expects the textarea element to have the ID "content" but the one on the guideline form uses "wrangling_guideline_content". Its ID needs to overridden to "content" and so does its associated label reference.

Assignee

Unassigned

Reporter

Sarken

Roadmap

Admin

Priority

Lowest

Affects versions

Fix versions

None

Components

FrontEnd

Difficulty

Easy

Required Access Level

Admin

Milestone

Internal 0.9