The item_editable_p change was a hack to just determine if the content_type is text/html or text/plain which lets content editing kick in. IIRC, I also added the editing capability itself into file-storage. You may want to grab the file-storage Ernie is using that he mentioned here:
https://openacs.org/forums/message-view?message_id=200772