Dyanamic Content macro confluence

Hi I am creating a macro for confluence to fetch custom content from our site to confluence. I have defined an editor with configuration url which is loading correctly at insert time but a call to macro rendering is also happening at the same time . It takes place exactly after rendering of editor. Is there a way to stop that call