text: Title: DocType: Tables in Field Type "Text Editor" - deleting rows and colums broken
  Body: <!--
  Welcome to the Frappe Framework issue tracker! Before creating an issue, please heed the following:
  
  1. This tracker should only be used to report bugs and request features / enhancements to Frappe
      - For questions and general support, use https://stackoverflow.com/questions/tagged/frappe
      - For documentation issues, refer to https://frappeframework.com/docs/user/en or the developer cheetsheet https://github.com/frappe/frappe/wiki/Developer-Cheatsheet
  2. Use the search function before creating a new issue. Duplicates will be closed and directed to
     the original discussion.
  3. When making a bug report, make sure you provide all required information. The easier it is for
     maintainers to reproduce, the faster it'll be fixed.
  4. If you think you know what the reason for the bug is, share it with us. Maybe put in a PR 😉
  -->
  
  ## Description of the issue
  Using a Text Editor field with content type "Rich Text": deleting rows and columns from tables does not work anymore. Rows can't be deleted, and on deleting columns always the first column gets deleted.
  
  ## Context information (for bug reports)
  I found this bug while creating a Web Page and tried to insert a table, see below:
  
  ![Image](https://github.com/user-attachments/assets/3f87c25f-1412-4388-a9e5-3358e40d6bc9)
  
  **Output of `bench version`**
  ```
  erpnext 15.52.0
  frappe 15.56.0
  ```
  
  ## Steps to reproduce the issue
  
  1. Create a Web Page as shown above. Use "Rich Text" for Content Type.
  2. Insert a table and fill in some data.
  3. Try to remove a row.
  4. Try to remove a column
  5. Try to insert a row in the middle of the table
  
  ### Observed result
  1. Try to remove a row: not possible
  2. Try to remove a column: wrong column is deleted
  3. Try to insert a row in the middle of the table: row is inserted, but data is "shifted" between cells below the new row.
  
  ### Expected result
  1. Try to remove a row: current row is deleted
  2. Try to remove a column: current column is deleted
  3. Try to insert a row in the middle of the table: row is inserted , data is not "shifted"
  
  ### Stacktrace / full error message
  
  ```
  Does not occur
  ```
  
  ## Additional information
  
  OS version / distribution, `Frappe` install method, etc.
  debian bullseye, manual install