Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello everyone,
I'm new with ACL, so, I'm not sure if it's possible to copy/paste fragment without let the dialog "specify top level element" appear?
My example is that I have:
<chapter>
<section>
<child>1...</child>
</section>
<section>
<child>2...</child>
</section>
<copied>
....
</copied>
</chapter>
Currently if I copy the first two sections and paste it into <copied></copied>, it will show a "Specify top level element" dialog which asks for the top level element.
What I would like to have is that it allows to copy/paste 2 sections (without outermost element). Is that any way I can do it using ACL?
I use a hook to catch on 'paste' event in ACL: doc_add_callback(current_doc(), 'paste', 'my_paste_handler')
I appreciate for any help!
Thao Nguyen