diff --git a/bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/Base_setSVGTextContent.xml b/bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/Base_setSVGTextContent.xml
index 18e2c3ca4e9954bad85b55cfa41e447514eb2147..6d111cf9c3448c2ceb040a0e1978c5c1d4c68939 100644
--- a/bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/Base_setSVGTextContent.xml
+++ b/bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/Base_setSVGTextContent.xml
@@ -57,9 +57,11 @@ text_content = context.REQUEST.get("text")\n
 if text_content is not None:\n
   portal_type = context.getPortalType()\n
   if portal_type in ("Web Illustration",):\n
-    context.setTextContent(text_content)\n
+    getattr(context, "setTextContent")\n
+    context.edit(text_content=text_content)\n
   elif portal_type in ("Image",):\n
-    context.setData(text_content)\n
+    getattr(context, "setData")\n
+    context.edit(data=text_content)\n
 </string> </value>
         </item>
         <item>