diff --git a/opencti-platform/opencti-front/src/static/css/CKEditorDark.css b/opencti-platform/opencti-front/src/static/css/CKEditorDark.css index 2a57728360dd..80d14ffe7167 100644 --- a/opencti-platform/opencti-front/src/static/css/CKEditorDark.css +++ b/opencti-platform/opencti-front/src/static/css/CKEditorDark.css @@ -149,3 +149,7 @@ .ck-read-only { color: rgba(255, 255, 255, 0.5) !important; } + +td.ck-editor__editable { + overflow: hidden !important; +} diff --git a/opencti-platform/opencti-front/src/static/css/CKEditorLight.css b/opencti-platform/opencti-front/src/static/css/CKEditorLight.css index 2a57728360dd..80d14ffe7167 100644 --- a/opencti-platform/opencti-front/src/static/css/CKEditorLight.css +++ b/opencti-platform/opencti-front/src/static/css/CKEditorLight.css @@ -149,3 +149,7 @@ .ck-read-only { color: rgba(255, 255, 255, 0.5) !important; } + +td.ck-editor__editable { + overflow: hidden !important; +} diff --git a/opencti-platform/opencti-graphql/src/domain/work.js b/opencti-platform/opencti-graphql/src/domain/work.js index 661376b8acfb..6f74428935c6 100644 --- a/opencti-platform/opencti-graphql/src/domain/work.js +++ b/opencti-platform/opencti-graphql/src/domain/work.js @@ -176,7 +176,7 @@ export const reportExpectation = async (user, workId, errorData) => { ctx._source['completed_number'] = params.completed_number; ctx._source['completed_time'] = params.now;`; } - // To avoid maximum string in Elastic (536870888), arbitrary limit the number of errors possible in a work to 5000 (50000 * 50000 < 536870888) + // To avoid maximum string in Elastic (536870888), arbitrary limit the number of possible errors in a work to 5000 (5000*50000 < 536870888) if (errorData) { const { error, source } = errorData; sourceScript += 'if (ctx._source.errors.length < 5000) { ctx._source.errors.add(["timestamp": params.now, "message": params.error, "source": params.source]); }';