+
+ {{ $t('embedded.code_to_embed') }}
+
+
+
+
+
+
-
-
- {{ $t('common.or') }}
-
-
-
-
-
+
+ {{ scriptElement }}
+
+
-
- {{ jsCodeElement }}
+
+
+ {{ $t('professional.code_for_debugging') }}
+
+
+
+
+
+
+
+
+ {{ jsCodeElement }}
+
+
+
+
+
+
+ {{ $t('embedded.code_to_embed') }}
+
+
+
+
+
+
+
+
+ {{ jsCodeElementFull }}
+
@@ -1197,25 +1256,52 @@ const saveHandler = () => {
.embed-third_party {
.floating-window {
- border: 1px solid #dee0e3;
width: 552px;
- height: 431px;
- opacity: 1;
- border-radius: 4px;
+ .mode {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ }
+
+ .code-bg {
+ background: #f5f6f7;
+ border-radius: 6px;
+ overflow: hidden;
+ margin-top: 16px;
+ }
.floating {
padding: 16px;
padding-bottom: 0;
+ border-radius: 6px;
+ border: 1px solid #dee0e3;
+ cursor: pointer;
+ width: 268px;
+ height: 182px;
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+
.title {
font-weight: 500;
font-size: 14px;
line-height: 22px;
- margin-bottom: 16px;
+ margin-bottom: 8px;
}
+
+ &.active {
+ background: var(--ed-color-primary-1a, #1cba901a);
+ border-color: var(--ed-color-primary, #1cba90);
+ }
+ }
+ .line {
+ background-color: #1f232926;
+ width: calc(100% - 32px);
+ height: 1px;
+ margin-left: 16px;
}
.code {
- border-top: 1px solid #1f232926;
padding: 16px;
.copy {
display: flex;