remove url segment on richtext create