I want to configure this text editor example into a nextJs application. Do you have any idea how to do it?