Problem/Motivation

Not sure if possible but it would be nice to have a setting on the text formatter to be able to disable cell properties. Some clients want their editors to be able to insert tables but not that level of control of changing colors.

Steps to reproduce

Proposed resolution

Add setting to text formatter settings to disable cell properties.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

smustgrave created an issue. See original summary.

mdusza’s picture

Hi smustgrave,

It seems doable - we're look into it and try to include this option in the upcoming release.

salmonek made their first commit to this issue’s fork.

salmonek’s picture

Status: Active » Needs review

Hi Stephen

I have pushed a PR with a chekcbox added to the Table Properties section of text format settings that allow to disable the table and cell properties items in the table's conextual menu.

smustgrave’s picture

Works for me! Will it need a post update hook?

salmonek’s picture

Status: Needs review » Reviewed & tested by the community

We didn't add any update hook as the decision is up to the site admins whether they wan to disable or not.
Default value is left to preserve properties buttons, so there is no unexpected change after the module update.

salmonek’s picture

Status: Reviewed & tested by the community » Fixed

Released in 1.5.0

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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