diff --git a/extension/Source/core/AbstractBuildForm.php b/extension/Source/core/AbstractBuildForm.php index 8e93bb30e5d75ca8c4cc984e44de9dc894716339..83b0f7cbdf232b989fc8a8f44cedf3c5885333cb 100644 --- a/extension/Source/core/AbstractBuildForm.php +++ b/extension/Source/core/AbstractBuildForm.php @@ -3201,6 +3201,9 @@ abstract class AbstractBuildForm { $attributeDiv .= Support::doAttribute('data-file', $this->fileToSipUrl($formElement[FE_TEXT_SOURCE])); $attributeDiv .= Support::doAttribute('data-target', $formElement[FE_HTML_ID]); $attributeDiv .= Support::doAttribute('data-highlight', $dataHighlight); + + $attributeDiv .= Support::doAttribute('data-view-only', 'true'); + $attributeDiv .= $this->getAttributeFeMode($formElement[FE_MODE]); $htmlAnnotate = Support::wrapTag('<div ' . $attributeDiv . ' data-uid=\''. $jsonDataUid . '\' >', '', false); // $htmlAnnotate = Support::wrapTag('<div ' . $attributeDiv .'>', '', false);