How do you concatenate Lists in C#?

If I have: List<string> myList1; List<string> myList2; myList1 = getMeAList(); // Checked myList1, it contains 4 strings myList2 = getMeAnotherList(); // Checked myList2, it contains 6 strings myList1.Concat(myList2); // Checked mylist1, it contains 4 strings… why? I ran code similar to this in Visual Studio 2008 and set break points after each execution. After myList1 … Read more

Gutenberg List Extension Block

I’m trying to extend the default Gutenberg unordered list that renders like this; <ul> <li>Item 1</li> <li>Item 2</li> </ul> To something like this when it has a custom list style attribute selected; <ul> <li><span></span>Item 1</li> <li><span></span>Item 2</li> </ul> To do this I started setting up an extension with some custom attributes like this; // Set … Read more