diff --git a/src/main/resources/site/content-types/highmap/highmap.xml b/src/main/resources/site/content-types/highmap/highmap.xml index 9a48cf8df..863b03923 100644 --- a/src/main/resources/site/content-types/highmap/highmap.xml +++ b/src/main/resources/site/content-types/highmap/highmap.xml @@ -2,7 +2,7 @@ Highmap base:structured - +
@@ -34,7 +34,7 @@ Lim inn (Ctrl-V) en tabell rett fra Excel. Hvis denne er fylt ut vil den gjelde istedenfor eget felt lengre ned - + - + - + - + media:code Velg kartet som skal brukes - - - - - - Bold Italic Underline Strike Subscript Superscript Cut Copy Blockquote - - - Lim inn (Ctrl-V) en tabell rett fra Excel. Tabeller bør være så enkle som mulig - - + - - + + @@ -111,7 +101,7 @@ - colorPreview + colorPreview Angi hex for farge på formen #000000 og velg forhåndsvisningen som dukker opp @@ -128,7 +118,7 @@ - colorPreview + colorPreview Angi hex for farge på formen #000000 og velg forhåndsvisningen som dukker opp @@ -138,7 +128,7 @@ - colorPreview + colorPreview Angi hex for farge på formen #000000 og velg forhåndsvisningen som dukker opp @@ -159,7 +149,7 @@ - colorPreview + colorPreview @@ -168,7 +158,7 @@ - + @@ -189,7 +179,7 @@ - + @@ -226,9 +216,9 @@ - + - + @@ -239,6 +229,6 @@ - +
diff --git a/src/main/resources/site/parts/highmap/Highmap.jsx b/src/main/resources/site/parts/highmap/Highmap.jsx index 0065a2c19..f115988ab 100644 --- a/src/main/resources/site/parts/highmap/Highmap.jsx +++ b/src/main/resources/site/parts/highmap/Highmap.jsx @@ -1,4 +1,4 @@ -import React, { useEffect } from 'react' +import React from 'react' import Highcharts from 'highcharts' import HighchartsReact from 'highcharts-react-official' import PropTypes from 'prop-types' diff --git a/src/main/resources/site/parts/highmap/highmap.ts b/src/main/resources/site/parts/highmap/highmap.ts index 503ae6adc..dc1d45809 100644 --- a/src/main/resources/site/parts/highmap/highmap.ts +++ b/src/main/resources/site/parts/highmap/highmap.ts @@ -133,8 +133,6 @@ function getTableData(highmap: Content): Array { } else if (highmap.data.dataSource?._selected === DataSourceType.TBPROCESSOR) { return getTBMLData(highmap) } - } else if (highmap.data.htmlTable) { - return getHtmlTableData(highmap.data.htmlTable) } return [] }