mozilla/kuma — pull request #29 by lmorchard (2011-10-14 19:14:24+00:00)
Title: Bug 688241 section edits groundwork 3

WARNING: Be careful looking at the CKEditor upgrade commit on github. There's a lot there, and it tends to choke up github's syntax highlighting voodoo. I tried to separate the rest out into more commits for easier viewing

Looks like I'm at a decent point to try to get more eyes on this. I stopped short of starting bug 688244, so the section editing machinery isn't actually used yet.

But, ID's should get injected into any document saved or edited. The more I looked at it, it didn't make sense to me to implement that on the client side. Authors can either add their own IDs, which the server will leave alone, or the IDs will get added during the course of saving. It's only after the revision has been saved that the IDs will become useful anyway.