# Feature OP-7999 - Basic arithmetic calculations in wysiwyg editor description/tables

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-7999

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

Add in wysiwyg editor basic arithmetic calculations for rows/columns when using tables in the &quot;description&quot; of a work package.

Somehow like in Excel.

Ex1

<figure class="op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell">Task name</td><td class="op-uc-table--cell">01-05 DEC</td><td class="op-uc-table--cell">08-10 DEC</td><td class="op-uc-table--cell">04-06 JAN</td><td class="op-uc-table--cell" style="background-color:hsl(180, 75%, 60%);"><strong>Total SUM</strong></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell">task1</td><td class="op-uc-table--cell">24</td><td class="op-uc-table--cell">12</td><td class="op-uc-table--cell">8</td><td class="op-uc-table--cell" style="background-color:hsl(180, 75%, 60%);">16</td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell">task2</td><td class="op-uc-table--cell">24</td><td class="op-uc-table--cell">12</td><td class="op-uc-table--cell">4</td><td class="op-uc-table--cell" style="background-color:hsl(180, 75%, 60%);">24</td></tr></tbody></table></figure>

Ex2

<figure class="op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell">Task name</td><td class="op-uc-table--cell">Number of people</td><td class="op-uc-table--cell">Hours per day</td><td class="op-uc-table--cell" style="background-color:hsl(180, 75%, 60%);"><strong>Total (multiply)</strong></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell">task1</td><td class="op-uc-table--cell">2</td><td class="op-uc-table--cell">8</td><td class="op-uc-table--cell" style="background-color:hsl(180, 75%, 60%);">16</td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell">task2</td><td class="op-uc-table--cell">3</td><td class="op-uc-table--cell">8</td><td class="op-uc-table--cell" style="background-color:hsl(180, 75%, 60%);">24</td></tr></tbody></table></figure>
