Opened 10 years ago

Closed 9 years ago

#4639 closed New Feature (wontfix)

Active Checkbox Tool

Reported by: Erik Kangas Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: Erik Kangas

Description

It would be REALLY great to be able to insert a checkbox into a CKEditor window via a button. By checkbox, I do not mean the usual form checkbox (though it could be done this way), I mean an active one like in Microsoft Onenote:

  • If you click on it in the interface, its state toggles between checked and unchecked. This changes the underlying HTML source.
  • This could be implemented via a form checkbox or by 2 images with a little bit of Javascript onClick action.

This would allow using the CKEditor for managing To-Do lists (like in One Note). Our notes widgets auto-save the CKEditor state for you -- so you can always come back and pick up where you left off. Having a way of making checkboxes that you can click to toggle would make these really powerful.

I suppose this could be done my writing a custom plugin -- but some quick reads shoes that this is not trivial to say the least. However, it seems like a very simple thing on the face of it.

Change History (1)

comment:1 Changed 9 years ago by Alfonso Martínez de Lizarrondo

Resolution: wontfix
Status: newclosed

The output code generated by such button depends on how do you plan to use it, so I don't see a feasible way to add such plugin in the default distribution.

CKEditor allows to insert checkboxes, so you just need to add the javascript to react on their changes.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy