Pasting and deleting code inside Ordered list

aeric

Expert
Licensed User
Longtime User
Here is an example:

I tried to add a code section </> at the cursor below Item 2.

  1. Item 1
  2. Item 2 (Press Shift Enter)
    | <--- cursor here
  3. Item 3
The result is a new item is added:
1730617067165.png


When I try to delete 3. by pressing backspace, the code in second line moved to the first line.
I have to go to the first line of code at the end of the original first line then press Shift Enter.
1730617524176.png

  1. Item 1
  2. Item 2 (Press Shift Enter)
    B4X:
    Public Sub Initialize    HRM.Initialize
        HRM.SimpleResponse = Main.Config.SimpleResponse
        DB.Initialize(Main.DBOpen, Main.DBEngine)
    End Sub
  3. Item 3
This is a little annoying as I need to repeat this step every time.
 
Top