TF-736 Display header style button on composer web

This commit is contained in:
dab246
2022-07-22 18:45:45 +07:00
committed by Dat H. Pham
parent d87da56928
commit 6982965a54
4 changed files with 76 additions and 5 deletions
@@ -62,4 +62,30 @@ String generateHtml(String content, {
</body>
</html>
''';
}
}
final bodyCssStyleForEditor = '''
<style>
blockquote {
margin-left: 8px;
margin-right: 8px;
padding-left: 12px;
padding-right: 12px;
border-left: 5px solid #eee;
}
pre {
display: block;
padding: 10px;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.5;
color: #333;
word-break: break-all;
word-wrap: break-word;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
overflow: auto;
}
</style>
''';