Skip to content
Snippets Groups Projects
Forked from project / ckeditor_responsive_table
9 commits behind, 1 commit ahead of the upstream repository.
Chris DeLuca's avatar
9f452462
History

CONTENTS OF THIS FILE

  • INTRODUCTION
  • REQUIREMENTS
  • RECOMMENDED MODULES
  • INSTALLATION
  • CONFIGURATION

INTRODUCTION

This module is a CKEditor 5 plugin for creating responsive tables using a button. The built-in CKEditor table button is not responsive.

This responsive table is accessible by default. The button provides controls to set the number of Rows and Columns. It also has a Headers dropdown, Caption, and a Caption Visible? checkbox.

Once the table is inserted into the editor, there are controls for inserting, deleting, splitting, and merging columns and rows, as well toggling the caption visibility.

This plugin is built based on the CKEditor 5 plugin development starter template module.

REQUIREMENTS

  • Drupal 9.3 or greater.

RECOMMENDED MODULES

  • No extra modules are required.

INSTALLATION

CONFIGURATION

  • Configure text formats by navigating to Configuration > Content authoring > Text formats and editors, or visiting /admin/config/content/formats.
  • Click Configure next to a text format that has CKEditor 5 enabled as the Text format that you'd like to add the responsive table functionality to.
  • Drag the Responsive Table button The responsive table icon from the Available Buttons area to the Active toolbar area.
  • Click Save configuration.