Skip to content
Snippets Groups Projects

Fix negativ pid when doing a positioned insert

Merged Marco Huber requested to merge mhuber84/tinymce4_rte:negativpid into master
  1. Jan 14, 2016
    • Marco Huber's avatar
      Fix negativ pid when doing a positioned insert · 8b2f0976
      Marco Huber authored
      If you insert a content element (or a page) at a concrete position
      f.e. after content element 15 the value in ['pid'] is -15.
      
      But in ->data we already have the real pid, so we can just use it.
      8b2f0976
Loading