I'm using the base64 function within a Logic App like this;

Which is correctly shown in the code view like this;

However, if I come back to the Logic App and edit it later, the designer view shows this;

The code view correctly shows base64 is still there, but if you edit that action block, it is removed. It's all too easy for you to inadvertently break the Logic App with a future edit.