<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <base th:href="${#request.getContextPath() + '/'} ">
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <style>
        html, body {padding: 0;margin: 0;height: 100%;}
    </style>
</head>
<body>
<div id="placeholder"></div>
<script type="text/javascript" th:src="${server +'/web-apps/apps/api/documents/api.js'}"></script>
<script th:inline="javascript">
    var config = [[${config}]]
    var docEditor = new DocsAPI.DocEditor("placeholder", config);
</script>
</body>
</html>