An http server that serves word-like rich formatted text documents
and includes a web-based rich formatting text editor to write and edit these documents.
With some searching I found these might be candidates
Ghost
WriteFreely / Write.as
Plume
And maybe the following editors in some kind of standalone mode