When you open the enchantment table screen, you can place items in the item to be enchanted that aren't normally supposed to be there,and as you can see,I can put gold bars into it.
When you open the enchantment table screen, you can place items in the item to be enchanted that aren't normally supposed to be there,and as you can see,I can put gold bars into it.
You're in creative mode. As per @unknown's comments in MC-4203, it's intended that you can enchant anything in creative mode.