I have a plugin that expands a spanning shortcode into a
<table>, and one of the parameters is the number of columns, eg:
[table cols=3] Row 1 Data 33% Row 2 Data 67% [/table]
Now, using the raw HTML editor I might forget to add the
cols, or I might enhance my plugin so that it can make an intelligent guess at the real number of columns, etc, but how can I report to the post editor that there is an error or warning? My usual workflow is to edit the post in a text editor, paste it into the HTML editor, save draft, then preview. What is the recommended way to pop up an error in either the backend or the preview window? If I'm in a hurry, for instance, I might not scroll down to the table to see an error message directly inserted into the stream at the
[table] tag, so the simple solution is probably not suitable.