Problem/Motivation

There's currently no way to style the readmore toggle button based on the state of the widget. For example, if there was an additional class added to the .ckeditor-readmore-toggler link/button when the toggle was open it could be styled differently.

Proposed resolution

Add a add class to the button to reflect the different states.

Comments

cossovich created an issue. See original summary.

cossovich’s picture

StatusFileSize
new421 bytes

Change which add's a class "open" to the toggle link/button element when the toggle is in "open" mode.

cossovich’s picture

StatusFileSize
new501 bytes

Forgot to add the code to remove the "open" class when the toggle is closed. New patch attached.

joco_sp’s picture

Status: Active » Fixed

@cossovich thank you. This functionality is now in 3.x

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.