When adding a custom enchantment, the enchanted books will only appear in the creative menu when 'supported_items' is set to one of the '#enchantable/*' tags (e.g. '#enchantable/bow').
This also appears to effect whether the enchanted book can be obtained from an enchanting table.
Would MC-271634 describe your issue?