Prepare editor to work in Liferay environment