fix helper for froala editor