{"id":830,"date":"2026-08-17T07:59:32","date_gmt":"2026-08-17T07:59:32","guid":{"rendered":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/?post_type=knowledgebase&#038;p=830"},"modified":"2026-08-17T12:58:16","modified_gmt":"2026-08-17T12:58:16","slug":"formatting-managing-cells","status":"publish","type":"knowledgebase","link":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/db\/tables\/formatting-managing-cells\/","title":{"rendered":"Formatting &#038; Managing Cells"},"content":{"rendered":"<div style=\"color: #2b2b2b;\">\n<h2 class=\"western\"><span style=\"color: #007670;\">Formatting &amp; Managing Cells<\/span><\/h2>\n<p class=\"western\">Once your table is inserted, Open Publisher provides a comprehensive suite of tools for precise cell manipulation, border styling, and data management.<\/p>\n<h3 class=\"western\"><span style=\"color: #007670;\">Cell Resizing (Cross-Browser)<\/span><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-833\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-085814.png\" alt=\"Cell Resizing\" width=\"199\" height=\"140\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-085814.png 416w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-085814-300x212.png 300w\" sizes=\"auto, (max-width: 199px) 100vw, 199px\" \/><\/h3>\n<p class=\"western\">Open Publisher ships with its own custom Table Cell Resizer that works reliably across Chrome, Safari, Firefox, and Edge, bypassing the browsers&#8217; inconsistent native implementations.<\/p>\n<p class=\"western\"><strong>To resize a row or column:<\/strong><\/p>\n<ol>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Hover your mouse over any vertical or horizontal dividing line inside the table. The cursor changes to a resize arrow (col-resize or row-resize).<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Click and drag to adjust the cell width or height. The boundary follows your cursor precisely.<\/span><\/p>\n<\/li>\n<\/ol>\n<p class=\"western\"><strong>Key behaviours:<\/strong><\/p>\n<ul>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Dimension locking:<\/strong> The moment you grab a border to resize it, all columns and rows in the table have their widths and heights locked to absolute pixel values. This prevents the browser&#8217;s layout engine from implicitly resizing other cells and causing unpredictable shifts.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Zero-sum resizing:<\/strong> Shrinking column A by 10px and increasing column B by 10px moves the boundary cleanly while leaving all other columns unchanged.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Smart drag detection:<\/strong> Clicking the exact border engages the resizer. Clicking in the middle of a cell and dragging engages the multi-cell selection highlighter. Both modes coexist without conflict.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Element drag:<\/strong> Hovering over the outer edge of the table (not an inner divider) shows a move cursor, letting you drag the entire table around the page.<\/span><\/p>\n<\/li>\n<\/ul>\n<h3 class=\"western\"><span style=\"color: #007670;\">Merge &amp; Split Cells<strong><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-835\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-091130.png\" alt=\"Merge Cells\" width=\"225\" height=\"280\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-091130.png 617w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-091130-241x300.png 241w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/strong><\/span><\/h3>\n<p class=\"western\"><strong>Merge Cells<\/strong><\/p>\n<ol>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Click and drag across the cells you want to merge to highlight them.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Right-click anywhere within the highlighted boundary.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Select <strong>Merge Cells<\/strong> from the context menu.<\/span><\/p>\n<\/li>\n<\/ol>\n<p class=\"western\">The cells collapse into one expanded cell. If the cells contained text, only non-empty cells contribute their content to the merged result &#8211; empty cells (&amp;nbsp;, whitespace, &lt;br&gt;) are stripped to prevent the merged cell from expanding unexpectedly.<\/p>\n<p class=\"western\"><strong>Split Cells<img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-837\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/SplitCells.webp\" alt=\"Split Cells\" width=\"260\" height=\"156\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/SplitCells.webp 614w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/SplitCells-300x180.webp 300w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/SplitCells-240x145.webp 240w\" sizes=\"auto, (max-width: 260px) 100vw, 260px\" \/><\/strong><br \/>\n<span style=\"font-size: small;\">To split a previously merged cell back into its original grid structure:<\/span><\/p>\n<ol>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Right-click inside the merged cell.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">The context menu detects the rowspan\/colspan attributes and offers <strong>Split Cells (revert)<\/strong>.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Click it. The merged cell immediately pops back into the individual rows and columns it had absorbed, with its layout perfectly restored.<\/span><\/p>\n<\/li>\n<\/ol>\n<h3 class=\"western\"><span style=\"color: #007670;\">Distribute Rows &amp; Columns<img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-839\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/DistributedRowsAndColumns.webp\" alt=\"Distribute Rows &amp; Columns\" width=\"249\" height=\"158\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/DistributedRowsAndColumns.webp 557w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/DistributedRowsAndColumns-300x190.webp 300w\" sizes=\"auto, (max-width: 249px) 100vw, 249px\" \/><\/span><\/h3>\n<p class=\"western\">The Table Layout sidebar contains Distribute Rows and Distribute Columns buttons for making multiple rows or columns exactly equal in size.<\/p>\n<ul>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Full-table distribution:<\/strong> Click anywhere inside the table (with no specific cells highlighted) and press Distribute Columns. All columns in the table are instantly resized to equal widths. Distribute Rows does the same for heights.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Targeted distribution:<\/strong> Highlight a specific subset of cells by click-and-dragging across them, then press Distribute Columns. Only those selected columns are redistributed proportionally &#8211; the rest of the table is completely untouched.<\/span><\/p>\n<\/li>\n<\/ul>\n<p class=\"western\">All redistribution uses sub-pixel accuracy and freezes widths\/heights to absolute pixel values to prevent unexpected layout shifts.<\/p>\n<h3 class=\"western\"><span style=\"color: #007670;\">Cell Margins (Padding)<img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-842\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-094600.png\" alt=\"Cell Margins (Padding)\" width=\"225\" height=\"125\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-094600.png 475w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-094600-300x167.png 300w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/span><\/h3>\n<p class=\"western\">The Table Layout sidebar includes a Cell Margins slider (range: 0 &#8211; 50px) that controls the internal padding &#8211; the whitespace between your text and the cell&#8217;s borders.<\/p>\n<ul>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Universal padding:<\/strong> Clicking anywhere in the table (without specific cells highlighted) and adjusting the slider applies padding uniformly across all cells.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Targeted padding:<\/strong> Highlight specific cells first, then adjust the slider to apply padding only to those cells.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">The slider reads the padding of the currently active cell when you click into it, so the control always reflects the real current state.<\/span><\/p>\n<\/li>\n<\/ul>\n<h3 class=\"western\"><span style=\"color: #007670;\">Border Thickness &amp; Colour<\/span><\/h3>\n<p class=\"western\">The Table Design ribbon provides full control over table borders.<img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-844\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-133337.png\" alt=\"Border Thickness &amp; Colour\" width=\"239\" height=\"296\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-133337.png 632w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-133337-242x300.png 242w\" sizes=\"auto, (max-width: 239px) 100vw, 239px\" \/><\/p>\n<p class=\"western\"><strong>Targeting:<\/strong> Open Publisher uses a hyper-accurate targeting system:<\/p>\n<ul>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Multi-cell selection:<\/strong> Select multiple cells by dragging, then apply a border colour or thickness to all selected cells at once.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Single cell:<\/strong> Click into one cell so the cursor is blinking &#8211; changes apply only to that cell.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Whole table:<\/strong> Click the outermost edge of the table without focusing a cell &#8211; changes apply to the entire table.<\/span><\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Maximum thickness:<\/strong> The border thickness slider and spinner accept values up to 64px, allowing you to create bold, ultra-thick grid lines for design purposes.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><strong>Colour:<\/strong> Use the colour picker in the Table Design ribbon to apply any colour to selected cell borders.<\/span><\/p>\n<\/li>\n<\/ul>\n<p class=\"western\">All changes are enforced via explicit <span style=\"font-family: Courier New, monospace;\">borderWidth<\/span> and <span style=\"font-family: Courier New, monospace;\">borderStyle: solid<\/span> CSS to guarantee correct rendering regardless of border-collapse state.<\/p>\n<h3 class=\"western\"><span style=\"color: #007670;\">Clear Cell Text<img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-848\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot_2026-08-17_133842.png_2K_202608171341.jpeg\" alt=\"Clear Cell Text\" width=\"459\" height=\"468\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot_2026-08-17_133842.png_2K_202608171341.jpeg 2048w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot_2026-08-17_133842.png_2K_202608171341-295x300.jpeg 295w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot_2026-08-17_133842.png_2K_202608171341-1006x1024.jpeg 1006w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot_2026-08-17_133842.png_2K_202608171341-768x782.jpeg 768w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot_2026-08-17_133842.png_2K_202608171341-1509x1536.jpeg 1509w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot_2026-08-17_133842.png_2K_202608171341-2013x2048.jpeg 2013w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><\/span><\/h3>\n<p class=\"western\">To clear the text content from one or more cells without deleting the cells themselves:<\/p>\n<ol>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Right-click inside a cell (or select multiple cells first).<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Choose <strong>Clear Cell Text<\/strong> from the context menu.<\/span><\/p>\n<\/li>\n<\/ol>\n<p class=\"western\">When multiple cells are selected, the menu option dynamically shows the count: e.g., &#8220;Clear Cell Text (4 cells)&#8221;. The cells remain structurally intact and fully editable after clearing. The action is registered in the undo history, so <span style=\"font-family: Courier New, monospace;\">Ctrl+Z<\/span> will restore the cleared text immediately.<\/p>\n<h3 class=\"western\"><span style=\"color: #007670;\">Line Spacing in Tables<\/span><\/h3>\n<p class=\"western\">The Spacing group within the Table Design ribbon includes the same Line Spacing button available for text boxes. Select one or more cells and click it to set an exact point value for the line height of text within those cells, giving you the same precise<img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-856\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/LineSpacingOptions.webp\" alt=\"Line Spacing in Tables\" width=\"359\" height=\"172\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/LineSpacingOptions.webp 1132w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/LineSpacingOptions-300x144.webp 300w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/LineSpacingOptions-1024x490.webp 1024w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/LineSpacingOptions-768x368.webp 768w\" sizes=\"auto, (max-width: 359px) 100vw, 359px\" \/><br \/>\ntypographic control available in text boxes.<\/p>\n<h3 class=\"western\"><span style=\"color: #007670;\">Convert Table to Text<\/span><\/h3>\n<p class=\"western\">If you need to repurpose structured table data as free-flowing paragraph text, use the Convert Table to Text tool:<img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-858\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-134749.png\" alt=\"Convert Table to Text\" width=\"160\" height=\"375\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-134749.png 365w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-17-134749-128x300.png 128w\" sizes=\"auto, (max-width: 160px) 100vw, 160px\" \/><\/p>\n<ol>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Select the table (click its outer edge).<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Access <strong>Convert Table to Text<\/strong> from either the Table Design ribbon or the table&#8217;s right-click context menu.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">A dialog appears asking how the extracted text should be separated: Tabs (each cell separated by a tab character), Commas (CSV-style output), Paragraph marks (each cell on its own line), or Custom (type any string to use as the separator).<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\">Click OK. The table grid is removed, the cell data is extracted with your chosen separator, and the result appears as a standard, editable text box in the same location.<\/span><\/p>\n<\/li>\n<\/ol>\n<p class=\"western\">The conversion preserves the element&#8217;s resize handles and rotation control. The active ribbon automatically transitions from Table Design to Text Box Tools for a seamless editing handoff.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Formatting &amp; Managing Cells Once your table is inserted, Open Publisher provides a comprehensive suite of tools for precise cell manipulation, border styling, and data management. Cell Resizing (Cross-Browser) Open Publisher ships with its own custom Table Cell Resizer that works reliably across Chrome, Safari, Firefox, and Edge, bypassing the browsers&#8217; inconsistent native implementations. To [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":861,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[12],"class_list":["post-830","knowledgebase","type-knowledgebase","status-publish","has-post-thumbnail","hentry","knowledgebase_cat-tables"],"_links":{"self":[{"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/knowledgebase\/830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/comments?post=830"}],"version-history":[{"count":19,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/knowledgebase\/830\/revisions"}],"predecessor-version":[{"id":860,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/knowledgebase\/830\/revisions\/860"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/media\/861"}],"wp:attachment":[{"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/media?parent=830"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/knowledgebase_cat?post=830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}