Ticket #222 (closed defect: wontfix)

Opened 6 years ago

Last modified 6 years ago

Filter formats: CMS items content does not align

Reported by: ed Owned by: ed
Priority: major Milestone: Phase 3
Component: Drupal modules & settings Keywords:
Cc: Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0

Description

Further to the WYSIWYG in the CMS having buttons that don't work, I have stripped the 'filtered html' buttons to the following:
https://www.transitionnetwork.org/admin/settings/wysiwyg/profile/1/edit

As discussed with Laura, it is useful to enable filtered html users to align their text. So I have kept those buttons in. But the CMS theme strips out all alignment.

Can you enable (left, central, right) alignment in all CMS items?

Is this a Laura job? Or a Jim job?

Change History

comment:1 Changed 6 years ago by jim

It's not actually to do with the editor or WYSIWYG - it's a content type filter thing. BUT:

  • Filtered HTML DOES NOT allow 'attributes' (like style etc) in the HTML. This is by design and expected.
  • Allowing non-editors access to 'Full HTML' is a security risk, and a quick way to F Laura's lovely design in the A.
  • Alternative: add HTML Purifier and allow a new 'safe full html' format for certain users.

Choose your poison, Ed!

comment:2 Changed 6 years ago by jim

  • Owner changed from laura to ed
  • Status changed from new to assigned
  • Summary changed from CMS items content does not align to Filter formats: CMS items content does not align

comment:3 Changed 6 years ago by ed

  • Status changed from assigned to closed
  • Resolution set to wontfix

indeed. But the filtered html editor had style stuff that was being stripped out, hence it was a bit of a usability error. so needed to remove the buttons from the editor. The question was whether we could add some alignment (as per Laura's suggestion).

Therefore taken this as a no, and I'll remove the alignment buttons from the filtered html WYSIWYG and close

Note: See TracTickets for help on using tickets.