| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 10 | public function editable($value, Field $field, HTMLElement $previous): HTMLElement |
||
| 11 | { |
||
| 12 | $element = parent::editable($value, $field, $previous); |
||
| 13 | $textarea = $element->get('textarea')[0]; |
||
| 14 | $textarea->addAttribute('class', 'formularium-html-editor'); |
||
| 15 | return $element; |
||
| 16 | } |
||
| 18 |