I had an idea sooner today : visual chunks/snippets. They would be drag and drop components for the WYSIWYG editors that relate to chunks and snippets.
Visual chunks/snippets would be simple HTML/CSS/JS definitions. Types would be based on MODx input types and display as such. Names would be specified as usual [[+var]]. The visual component would be specified in an additional tab while editing chunks/snippets.
Visual component definition:
Image <input type="image" name="[[+imgurl]]"/><br/>
Size <input type="text" name="[[+sizex]]"/> <input type="text" name="[[+sizey]]/><br/>
Caption <input type="textareamini" name="[[+caption]]"/><br/>
Align <select name=[[+align]]>
<option value="right">Right</option>
<option value="left">Left</option>
</select>
I hope something similar to this hasn’t been posted yet. I’m no hardcore programmer, these are just ideas I’m pitching in, if anything doesn’t make sense, discuss it !