fixed the non-responsive text legend inplace editor
fixed issue when incorrect block sizes.
removed redundant call to computeNumberOfBlocks inside the render method for inplace elements.