If you really wanted to make the vowels reappear on command, perhaps what should be done, as TH mentioned, keep the original full comment in the backend/database, and have the plugin hide the vowels using CSS. For example:
"This is a sample sentence."
When disemvoweled, might be rendered as
"Th<span class="dsmvwl">i</span>s <span class="dsmvwl">i</span>s <span class="dsmvwl">a</span> s<span class="dsmvwl">a</span>mpl<span class="dsmvwl">e</span> s<span class="dsmvwl">e</span>nt<span class="dsmvwl">e</span>nc<span class="dsmvwl">e</span>."
Then using have a CSS definition for:
.dsmwwl {
display: none;
}
And then use Javascript to change the .dsmvwl's CSS definition to
.dsmvwl {
display:inline;
}
when clicking on a "Toggle disemvoweling" link or some such.
Seems like a fairly simple thing to do; I think maybe I'll go code a plugin for Nucleus CMS to enable this. Whee!
| Year | Number of comments posted |
|---|---|
| 2005 | 2 |
Total: 2 comments. View all these comments on a single page.
The most recent 20 comments posted to Making Light by ketsugi:
Show all comments by ketsugi.