For html tags, we use the scriptlet to output conditional attributes, not the <c:if> syntax.
In this case it would be:
`<div <%= inlineEditEnabled ? "contenteditable=\"true\" id=\"" + entryContentId + "\" spellcheck=\"false\" : StringPool.BLANK %>>`